Coverage report: 93%

Files Functions Classes

coverage.py v7.6.1, created at 2024-09-05 08:12 +0000

File function statements missing excluded branches partial coverage
src/ansible_sign/__init__.py (no function) 6 0 4 0 0 100%
src/ansible_sign/checksum/__init__.py (no function) 2 0 0 0 0 100%
src/ansible_sign/checksum/base.py ChecksumFile.__init__ 5 0 0 2 0 100%
src/ansible_sign/checksum/base.py ChecksumFile.differ_warnings 1 0 0 0 0 100%
src/ansible_sign/checksum/base.py ChecksumFile.warnings 1 0 0 0 0 100%
src/ansible_sign/checksum/base.py ChecksumFile._parse_gnu_style 8 0 0 4 0 100%
src/ansible_sign/checksum/base.py ChecksumFile.parse 13 0 0 8 0 100%
src/ansible_sign/checksum/base.py ChecksumFile.diff 2 0 0 0 0 100%
src/ansible_sign/checksum/base.py ChecksumFile.generate_gnu_style 5 0 0 2 0 100%
src/ansible_sign/checksum/base.py ChecksumFile.calculate_checksum 8 0 0 4 0 100%
src/ansible_sign/checksum/base.py ChecksumFile.calculate_checksums_from_root 5 0 0 2 0 100%
src/ansible_sign/checksum/base.py ChecksumFile.verify 12 0 0 10 1 95%
src/ansible_sign/checksum/base.py (no function) 21 0 0 0 0 100%
src/ansible_sign/checksum/differ/__init__.py (no function) 1 0 0 0 0 100%
src/ansible_sign/checksum/differ/base.py ChecksumFileExistenceDiffer.__init__ 1 0 0 0 0 100%
src/ansible_sign/checksum/differ/base.py ChecksumFileExistenceDiffer.gather_files 1 1 0 0 0 0%
src/ansible_sign/checksum/differ/base.py ChecksumFileExistenceDiffer.list_files 11 1 0 12 1 91%
src/ansible_sign/checksum/differ/base.py ChecksumFileExistenceDiffer.compare_filelist 5 0 0 0 0 100%
src/ansible_sign/checksum/differ/base.py (no function) 10 0 0 0 0 100%
src/ansible_sign/checksum/differ/distlib_manifest.py DistlibManifestChecksumFileExistenceDiffer.gather_files 18 0 0 12 0 100%
src/ansible_sign/checksum/differ/distlib_manifest.py (no function) 7 0 0 0 0 100%
src/ansible_sign/cli.py AnsibleSignCLI.__init__ 5 0 0 0 0 100%
src/ansible_sign/cli.py AnsibleSignCLI.run_command 1 0 0 0 0 100%
src/ansible_sign/cli.py AnsibleSignCLI.parse_args 19 0 0 0 0 100%
src/ansible_sign/cli.py AnsibleSignCLI._generate_checksum_manifest 24 3 0 10 3 82%
src/ansible_sign/cli.py AnsibleSignCLI._error 3 0 0 2 0 100%
src/ansible_sign/cli.py AnsibleSignCLI._ok 3 0 0 2 0 100%
src/ansible_sign/cli.py AnsibleSignCLI._note 3 0 0 2 0 100%
src/ansible_sign/cli.py AnsibleSignCLI._warn 3 3 0 2 0 0%
src/ansible_sign/cli.py AnsibleSignCLI.validate_checksum 34 4 0 12 4 83%
src/ansible_sign/cli.py AnsibleSignCLI.gpg_verify 23 0 0 10 0 100%
src/ansible_sign/cli.py AnsibleSignCLI._write_file_or_print 10 4 0 6 2 62%
src/ansible_sign/cli.py AnsibleSignCLI.gpg_sign 26 3 0 8 1 88%
src/ansible_sign/cli.py main 5 0 0 0 0 100%
src/ansible_sign/cli.py run 1 0 0 0 0 100%
src/ansible_sign/cli.py (no function) 29 0 2 0 0 100%
src/ansible_sign/signing/__init__.py (no function) 1 0 0 0 0 100%
src/ansible_sign/signing/base.py SignatureVerificationResult.__init__ 3 0 0 0 0 100%
src/ansible_sign/signing/base.py SignatureVerificationResult.__bool__ 1 0 0 0 0 100%
src/ansible_sign/signing/base.py SignatureVerifier.verify 0 0 1 0 0 100%
src/ansible_sign/signing/base.py SignatureSigningResult.__init__ 3 0 0 0 0 100%
src/ansible_sign/signing/base.py SignatureSigningResult.__bool__ 1 0 0 0 0 100%
src/ansible_sign/signing/base.py SignatureSigner.sign 0 0 1 0 0 100%
src/ansible_sign/signing/base.py (no function) 10 0 0 0 0 100%
src/ansible_sign/signing/gpg/__init__.py (no function) 2 0 0 0 0 100%
src/ansible_sign/signing/gpg/signer.py GPGSigner.__init__ 10 0 0 4 0 100%
src/ansible_sign/signing/gpg/signer.py GPGSigner.sign 8 0 0 6 1 93%
src/ansible_sign/signing/gpg/signer.py (no function) 8 0 0 0 0 100%
src/ansible_sign/signing/gpg/verifier.py GPGVerifier.__init__ 9 2 0 4 2 69%
src/ansible_sign/signing/gpg/verifier.py GPGVerifier.verify 15 1 0 6 1 90%
src/ansible_sign/signing/gpg/verifier.py (no function) 9 0 0 0 0 100%
Total   412 22 8 130 16 93%

No items found using the specified filter.