Coverage report: 56.81%

Files Functions Classes

coverage.py v7.6.9, created at 2024-12-18 20:12:48 +00:00

File function statements missing excluded branches partial coverage
csaf/__init__.py init_logger 4 0 0 0 0 100.00%
csaf/__init__.py (no function) 30 0 0 0 0 100.00%
csaf/category.py (no function) 0 0 0 0 0 100.00%
csaf/cli.py callback 3 0 0 2 0 100.00%
csaf/cli.py app_template 2 2 0 0 0 0.00%
csaf/cli.py report 2 2 0 0 0 0.00%
csaf/cli.py validate 21 2 0 12 5 72.73%
csaf/cli.py app_version 1 0 0 0 0 100.00%
csaf/cli.py (no function) 19 0 0 0 0 100.00%
csaf/config.py generate_template 1 1 0 0 0 0.00%
csaf/config.py read_configuration 2 2 0 0 0 0.00%
csaf/config.py (no function) 6 0 0 0 0 100.00%
csaf/cpe.py (no function) 0 0 0 0 0 100.00%
csaf/csaf.py CSAF.model_dump_json 2 0 0 0 0 100.00%
csaf/csaf.py CSAF.check_len 3 3 0 2 0 0.00%
csaf/csaf.py document_optional_acknowledgments 48 48 0 38 0 0.00%
csaf/csaf.py document_aggregate_severity 43 43 0 24 0 0.00%
csaf/csaf.py document_category 7 7 0 4 0 0.00%
csaf/csaf.py document_csaf_version 9 9 0 6 0 0.00%
csaf/csaf.py document_lang 9 9 0 6 0 0.00%
csaf/csaf.py document_optional 25 25 0 16 0 0.00%
csaf/csaf.py verify_document 36 36 0 24 0 0.00%
csaf/csaf.py level_zero 6 6 0 4 0 0.00%
csaf/csaf.py reader 3 2 0 2 0 20.00%
csaf/csaf.py peek 9 9 0 6 0 0.00%
csaf/csaf.py verify_request 16 16 0 14 0 0.00%
csaf/csaf.py verify_json 8 8 0 2 0 0.00%
csaf/csaf.py is_valid_ 4 4 0 2 0 0.00%
csaf/csaf.py walk_tree_explicit 7 7 0 8 0 0.00%
csaf/csaf.py visit 5 5 0 4 0 0.00%
csaf/csaf.py slugify 1 1 0 0 0 0.00%
csaf/csaf.py process 39 32 0 30 2 15.94%
csaf/csaf.py (no function) 57 0 0 0 0 100.00%
csaf/cve.py (no function) 0 0 0 0 0 100.00%
csaf/cvss.py CVSS2.model_dump_json 2 2 0 0 0 0.00%
csaf/cvss.py CVSS30.model_dump_json 2 2 0 0 0 0.00%
csaf/cvss.py CVSS31.model_dump_json 2 0 0 0 0 100.00%
csaf/cvss.py (no function) 105 0 0 0 0 100.00%
csaf/cwe.py (no function) 0 0 0 0 0 100.00%
csaf/definitions.py Flags.check_len 3 3 0 2 0 0.00%
csaf/definitions.py Ids.check_len 3 3 0 2 0 0.00%
csaf/definitions.py Acknowledgment.check_len 3 3 0 2 0 0.00%
csaf/definitions.py Acknowledgments.check_len 3 3 0 2 0 0.00%
csaf/definitions.py ProductGroupIds.check_len 3 3 0 2 0 0.00%
csaf/definitions.py ListOfProductIds.check_len 3 3 0 2 0 0.00%
csaf/definitions.py Notes.check_len 3 3 0 2 0 0.00%
csaf/definitions.py References.check_len 3 3 0 2 0 0.00%
csaf/definitions.py (no function) 101 0 0 0 0 100.00%
csaf/document.py Tracking.check_len 3 3 0 2 0 0.00%
csaf/document.py (no function) 85 0 0 0 0 100.00%
csaf/env.py report 5 5 0 0 0 0.00%
csaf/env.py report.Report.__init__ 3 3 0 0 0 0.00%
csaf/env.py (no function) 5 0 0 0 0 100.00%
csaf/hash.py (no function) 0 0 0 0 0 100.00%
csaf/mandatory/__init__.py (no function) 0 0 0 0 0 100.00%
csaf/mandatory/acyclic_product_ids.py (no function) 3 3 0 0 0 0.00%
csaf/mandatory/consistent_product_status.py (no function) 3 3 0 0 0 0.00%
csaf/mandatory/defined_group_ids.py (no function) 7 0 0 0 0 100.00%
csaf/mandatory/defined_product_ids.py (no function) 7 0 0 0 0 100.00%
csaf/mandatory/rules.py guess_max_depth 5 5 0 4 0 0.00%
csaf/mandatory/rules.py is_valid 14 14 0 14 0 0.00%
csaf/mandatory/rules.py is_valid_unique_product_ids 17 17 0 10 0 0.00%
csaf/mandatory/rules.py is_valid_unique_group_ids 5 5 0 4 0 0.00%
csaf/mandatory/rules.py is_valid_defined_product_ids 10 10 0 8 0 0.00%
csaf/mandatory/rules.py is_valid_defined_group_ids 10 10 0 8 0 0.00%
csaf/mandatory/rules.py exists 1 1 0 0 0 0.00%
csaf/mandatory/rules.py must_skip 2 2 0 0 0 0.00%
csaf/mandatory/rules.py is_valid_category 1 1 0 0 0 0.00%
csaf/mandatory/rules.py is_valid_translator 3 3 0 2 0 0.00%
csaf/mandatory/rules.py (no function) 28 0 0 0 0 100.00%
csaf/mandatory/translator_and_source_lang.py (no function) 10 0 0 0 0 100.00%
csaf/mandatory/unique_group_ids.py (no function) 5 0 0 0 0 100.00%
csaf/mandatory/unique_product_ids.py (no function) 5 0 0 0 0 100.00%
csaf/mandatory/valid_category_name.py is_valid 7 7 0 4 0 0.00%
csaf/mandatory/valid_category_name.py (no function) 11 0 0 0 0 100.00%
csaf/product.py CryptographicHashes.check_len 3 3 0 2 0 0.00%
csaf/product.py HelperToIdentifyTheProduct.check_len 3 3 0 2 0 0.00%
csaf/product.py HelperToIdentifyTheProduct.check_purl 5 5 0 4 0 0.00%
csaf/product.py ProductGroup.check_len 3 3 0 2 0 0.00%
csaf/product.py ProductTree.check_len 3 3 0 2 0 0.00%
csaf/product.py Branches.check_len 3 3 0 2 0 0.00%
csaf/product.py (no function) 111 0 0 0 0 100.00%
csaf/purl.py (no function) 0 0 0 0 0 100.00%
csaf/terminal.py (no function) 0 0 0 0 0 100.00%
csaf/tlp.py (no function) 0 0 0 0 0 100.00%
csaf/version.py (no function) 0 0 0 0 0 100.00%
csaf/vuln_types.py (no function) 120 0 0 0 0 100.00%
csaf/vulnerability.py Remediation.check_len 3 3 0 2 0 0.00%
csaf/vulnerability.py Score.model_dump_json 2 0 0 0 0 100.00%
csaf/vulnerability.py Vulnerability.model_dump_json 2 0 0 0 0 100.00%
csaf/vulnerability.py Vulnerability.check_len 3 3 0 2 0 0.00%
csaf/vulnerability.py (no function) 168 0 0 0 0 100.00%
Total   1348 425 0 296 7 56.81%

No items found using the specified filter.