Coverage report: 69%

coverage.py v6.5.0, created at 2023-02-09 12:09 +0100

Module statements missing excluded branches partial coverage
harbor_cli/__init__.py 1 0 0 0 0 100%
harbor_cli/__main__.py 2 2 2 0 0 0%
harbor_cli/app.py 3 0 0 0 0 100%
harbor_cli/commands/__init__.py 7 0 1 4 0 100%
harbor_cli/commands/api/__init__.py 21 0 0 0 0 100%
harbor_cli/commands/api/artifact.py 105 58 1 18 0 38%
harbor_cli/commands/api/auditlog.py 12 2 0 0 0 83%
harbor_cli/commands/api/cve_allowlist.py 42 25 0 18 0 28%
harbor_cli/commands/api/gc.py 52 19 0 2 0 61%
harbor_cli/commands/api/harbor_config.py 43 25 3 10 0 34%
harbor_cli/commands/api/ldap.py 29 12 1 4 0 52%
harbor_cli/commands/api/project.py 173 93 1 12 0 43%
harbor_cli/commands/api/quotas.py 33 12 0 2 0 60%
harbor_cli/commands/api/registry.py 70 28 0 0 0 60%
harbor_cli/commands/api/replication.py 83 33 0 6 0 56%
harbor_cli/commands/api/repository.py 34 13 0 2 0 58%
harbor_cli/commands/api/scan.py 23 9 0 0 0 61%
harbor_cli/commands/api/scanall.py 48 18 0 2 0 60%
harbor_cli/commands/api/scanner.py 48 19 0 0 0 60%
harbor_cli/commands/api/search.py 9 2 0 0 0 78%
harbor_cli/commands/api/system.py 29 13 0 0 0 55%
harbor_cli/commands/api/user.py 115 70 12 30 0 31%
harbor_cli/commands/api/vulnerabilities.py 8 1 0 0 0 88%
harbor_cli/commands/cli/__init__.py 8 0 0 0 0 100%
harbor_cli/commands/cli/cli_config.py 68 43 0 22 0 28%
harbor_cli/commands/cli/find.py 59 2 1 22 0 98%
harbor_cli/commands/cli/init.py 116 80 4 30 0 25%
harbor_cli/commands/cli/repl.py 9 2 0 0 0 78%
harbor_cli/commands/cli/sample_config.py 7 0 0 0 0 100%
harbor_cli/commands/help.py 2 0 0 0 0 100%
harbor_cli/config.py 171 25 3 42 5 82%
harbor_cli/deprecation.py 39 1 0 16 2 95%
harbor_cli/dirs.py 17 6 0 2 0 58%
harbor_cli/exceptions.py 76 28 0 12 0 57%
harbor_cli/format.py 20 10 0 4 0 42%
harbor_cli/harbor/__init__.py 2 0 0 0 0 100%
harbor_cli/harbor/artifact.py 25 16 0 10 0 26%
harbor_cli/harbor/client.py 24 16 5 12 0 22%
harbor_cli/logs.py 40 9 2 10 1 68%
harbor_cli/main.py 84 52 2 37 1 29%
harbor_cli/models.py 8 0 1 0 0 100%
harbor_cli/output/__init__.py 6 0 0 0 0 100%
harbor_cli/output/console.py 18 6 0 2 0 60%
harbor_cli/output/formatting/__init__.py 4 0 0 0 0 100%
harbor_cli/output/formatting/builtin.py 24 0 0 8 0 100%
harbor_cli/output/formatting/bytes.py 4 0 0 0 0 100%
harbor_cli/output/formatting/constants.py 2 0 0 0 0 100%
harbor_cli/output/formatting/dates.py 17 4 0 8 1 80%
harbor_cli/output/formatting/path.py 8 0 0 2 0 100%
harbor_cli/output/prompts.py 80 22 8 34 15 66%
harbor_cli/output/render.py 69 7 2 24 4 84%
harbor_cli/output/table/__init__.py 46 0 2 8 0 100%
harbor_cli/output/table/_utils.py 16 0 2 6 0 100%
harbor_cli/output/table/anysequence.py 22 3 0 6 1 86%
harbor_cli/output/table/artifact.py 46 22 0 6 0 50%
harbor_cli/output/table/auditlog.py 1 1 0 0 0 0%
harbor_cli/output/table/commandsummary.py 19 0 0 8 0 100%
harbor_cli/output/table/project.py 62 5 0 18 2 86%
harbor_cli/output/table/repository.py 11 0 0 2 0 100%
harbor_cli/output/table/search.py 46 20 0 14 3 52%
harbor_cli/output/table/system.py 24 0 0 6 0 100%
harbor_cli/output/table/user.py 13 0 0 2 0 100%
harbor_cli/state.py 61 20 4 10 0 58%
harbor_cli/style.py 11 1 0 0 0 91%
harbor_cli/utils/__init__.py 4 0 0 0 0 100%
harbor_cli/utils/_types.py 3 0 0 0 0 100%
harbor_cli/utils/args.py 29 1 0 8 1 95%
harbor_cli/utils/commands.py 133 20 0 66 9 81%
harbor_cli/utils/utils.py 41 3 0 24 1 94%
tests/__init__.py 1 0 0 0 0 100%
tests/_strategies.py 5 0 3 2 0 100%
tests/_utils.py 21 0 0 4 0 100%
tests/commands/__init__.py 0 0 0 0 0 100%
tests/commands/api/__init__.py 0 0 0 0 0 100%
tests/commands/cli/__init__.py 0 0 0 0 0 100%
tests/commands/cli/test_find.py 39 0 0 7 0 100%
tests/commands/cli/test_sample_config.py 4 0 0 0 0 100%
tests/conftest.py 73 1 1 0 0 99%
tests/output/__init__.py 0 0 0 0 0 100%
tests/output/formatting/__init__.py 0 0 0 0 0 100%
tests/output/formatting/test_builtin.py 25 0 0 0 0 100%
tests/output/formatting/test_bytes.py 9 0 0 0 0 100%
tests/output/formatting/test_dates.py 7 0 0 0 0 100%
tests/output/formatting/test_path.py 9 0 0 0 0 100%
tests/output/table/__init__.py 0 0 0 0 0 100%
tests/output/table/test_table.py 38 0 0 8 0 100%
tests/output/test_prompts.py 67 8 0 6 0 86%
tests/output/test_render.py 62 0 0 0 0 100%
tests/test_config.py 116 0 6 6 0 100%
tests/test_deprecation.py 25 0 1 0 0 100%
tests/utils/__init__.py 0 0 0 0 0 100%
tests/utils/test_args.py 56 0 0 6 0 100%
tests/utils/test_commands.py 128 0 12 4 0 100%
tests/utils/test_utils.py 18 0 0 0 0 100%
Total 3288 888 80 634 46 69%

No items found using the specified filter.