Coverage report: 56.79%

Files Functions Classes

coverage.py v7.13.2, created at 2026-02-03 22:59:50 +00:00

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

No items found using the specified filter.