Coverage report: 60%

Files Functions Classes

coverage.py v7.15.0, created at 2026-07-12 16:04 +0200

      Statements   Branches   Total
File function   coverage statements missing excluded   coverage branches partial   coverage
src/gcp_attest/__init__.py (no function)   100% 0 0 0   100% 0 0   100%
src/gcp_attest/_cli/__init__.py _get_parser   100% 9 0 0   100% 0 0   100%
src/gcp_attest/_cli/__init__.py _token   53% 15 7 0   0% 2 0   47%
src/gcp_attest/_cli/__init__.py main   100% 4 0 0   50% 2 1   83%
src/gcp_attest/_cli/__init__.py (no function)   100% 6 0 3   100% 0 0   100%
src/gcp_attest/credentials.py _get_forgejo_credentials_config   0% 13 13 0   0% 2 0   0%
src/gcp_attest/credentials.py _get_forgejo_actions_credentials   40% 15 9 0   20% 10 2   32%
src/gcp_attest/credentials.py _get_ambient_gcp_credentials   78% 9 2 0   50% 4 2   69%
src/gcp_attest/credentials.py get_id_token_credentials   88% 8 1 0   50% 6 3   71%
src/gcp_attest/credentials.py (no function)   100% 12 0 3   100% 0 0   100%
tests/__init__.py (no function)   100% 0 0 0   100% 0 0   100%
tests/cli_test.py test_token_in_forgejo_actions   0% 5 5 0   100% 0 0   0%
tests/cli_test.py test_token_invalid   100% 6 0 0   100% 0 0   100%
tests/cli_test.py (no function)   100% 9 0 0   100% 0 0   100%
tests/conftest.py pytest_runtest_setup   100% 0 0 9   100% 0 0   100%
tests/conftest.py (no function)   100% 3 0 0   100% 0 0   100%
tests/credentials_test.py test_forgejo_actions_credentials   0% 5 5 0   100% 0 0   0%
tests/credentials_test.py test_ambient_gcp_credentials   0% 5 5 0   100% 0 0   0%
tests/credentials_test.py (no function)   100% 11 0 0   100% 0 0   100%
Total     65% 135 47 15   31% 26 8   60%

No items found using the specified filter.