Coverage report: 32%

Files Functions Classes

coverage.py v7.13.5, created at 2026-04-09 09:33 +0200

File function   statements missing excluded   coverage
src / codeaudit / __about__.py (no function)   1 0 0   100%
src / codeaudit / __init__.py (no function)   1 0 0   100%
src / codeaudit / altairplots.py module_count_barchart   6 6 0   0%
src / codeaudit / altairplots.py module_distribution_view   8 8 0   0%
src / codeaudit / altairplots.py make_chart   5 5 0   0%
src / codeaudit / altairplots.py multi_bar_chart   4 4 0   0%
src / codeaudit / altairplots.py issue_plot   10 10 0   0%
src / codeaudit / altairplots.py issue_overview   4 4 0   0%
src / codeaudit / altairplots.py complexity_heatmap   22 22 0   0%
src / codeaudit / altairplots.py lines_of_code_overview   20 20 0   0%
src / codeaudit / altairplots.py ast_nodes_overview   25 25 0   0%
src / codeaudit / altairplots.py weaknesses_overview   40 40 0   0%
src / codeaudit / altairplots.py sast_files_overview   30 30 0   0%
src / codeaudit / altairplots.py weaknesses_radial_overview   39 39 0   0%
src / codeaudit / altairplots.py (no function)   16 0 0   100%
src / codeaudit / api_helpers.py _collect_issue_lines   16 16 0   0%
src / codeaudit / api_helpers.py _get_test_info   23 23 0   0%
src / codeaudit / api_helpers.py _build_weakness_details   35 35 0   0%
src / codeaudit / api_helpers.py _codeaudit_scan_wasm   11 11 0   0%
src / codeaudit / api_helpers.py _codeaudit_directory_scan_wasm   33 33 0   0%
src / codeaudit / api_helpers.py (no function)   13 0 0   100%
src / codeaudit / api_interfaces.py version   2 0 0   100%
src / codeaudit / api_interfaces.py filescan   32 32 0   0%
src / codeaudit / api_interfaces.py _codeaudit_scan   9 9 0   0%
src / codeaudit / api_interfaces.py _codeaudit_directory_scan   16 16 0   0%
src / codeaudit / api_interfaces.py save_to_json   10 10 0   0%
src / codeaudit / api_interfaces.py read_input_file   10 10 0   0%
src / codeaudit / api_interfaces.py get_weakness_counts   19 19 0   0%
src / codeaudit / api_interfaces.py get_modules   2 2 0   0%
src / codeaudit / api_interfaces.py get_overview   18 12 0   33%
src / codeaudit / api_interfaces.py get_default_validations   4 4 1   0%
src / codeaudit / api_interfaces.py _generation_info   5 5 0   0%
src / codeaudit / api_interfaces.py platform_info   4 4 0   0%
src / codeaudit / api_interfaces.py get_psl_modules   3 3 0   0%
src / codeaudit / api_interfaces.py get_module_vulnerability_info   4 4 0   0%
src / codeaudit / api_interfaces.py egress_check   2 2 0   0%
src / codeaudit / api_interfaces.py get_construct_counts   7 7 0   0%
src / codeaudit / api_interfaces.py (no function)   31 0 0   100%
src / codeaudit / api_reporting.py total_weaknesses   9 9 0   0%
src / codeaudit / api_reporting.py (no function)   3 3 0   0%
src / codeaudit / checkmodules.py get_imported_modules   21 0 0   100%
src / codeaudit / checkmodules.py get_standard_library_modules   7 0 0   100%
src / codeaudit / checkmodules.py query_osv   6 0 0   100%
src / codeaudit / checkmodules.py extract_vulnerability_info   4 0 0   100%
src / codeaudit / checkmodules.py check_module_vulnerability   3 0 0   100%
src / codeaudit / checkmodules.py get_all_modules   12 12 0   0%
src / codeaudit / checkmodules.py get_imported_modules_by_file   6 6 0   0%
src / codeaudit / checkmodules.py (no function)   12 0 0   100%
src / codeaudit / codeaudit.py display_version   1 1 0   0%
src / codeaudit / codeaudit.py display_help   13 13 0   0%
src / codeaudit / codeaudit.py main   11 11 0   0%
src / codeaudit / codeaudit.py (no function)   10 10 0   0%
src / codeaudit / codeaudit_dashboard.py get_pypi_package_info_wasm   16 16 0   0%
src / codeaudit / codeaudit_dashboard.py get_pypi_download_info_wasm   9 9 0   0%
src / codeaudit / codeaudit_dashboard.py get_package_source_wasm   26 26 0   0%
src / codeaudit / codeaudit_dashboard.py filescan_wasm   27 27 0   0%
src / codeaudit / codeaudit_dashboard.py run_scan   27 27 0   0%
src / codeaudit / codeaudit_dashboard.py (no function)   31 31 0   0%
src / codeaudit / complexitycheck.py ComplexityVisitor.__init__   1 0 0   100%
src / codeaudit / complexitycheck.py ComplexityVisitor.visit_If   2 0 0   100%
src / codeaudit / complexitycheck.py ComplexityVisitor.visit_For   2 0 0   100%
src / codeaudit / complexitycheck.py ComplexityVisitor.visit_While   2 2 0   0%
src / codeaudit / complexitycheck.py ComplexityVisitor.visit_Try   2 0 0   100%
src / codeaudit / complexitycheck.py ComplexityVisitor.visit_ExceptHandler   2 0 0   100%
src / codeaudit / complexitycheck.py ComplexityVisitor.visit_With   2 0 0   100%
src / codeaudit / complexitycheck.py ComplexityVisitor.visit_BoolOp   2 2 0   0%
src / codeaudit / complexitycheck.py ComplexityVisitor.visit_Match   2 2 0   0%
src / codeaudit / complexitycheck.py ComplexityVisitor.visit_MatchCase   2 2 0   0%
src / codeaudit / complexitycheck.py ComplexityVisitor.visit_Assert   2 2 0   0%
src / codeaudit / complexitycheck.py calculate_complexity   6 0 0   100%
src / codeaudit / complexitycheck.py count_static_warnings_in_file   13 4 0   69%
src / codeaudit / complexitycheck.py (no function)   17 0 0   100%
src / codeaudit / dashboard_reports.py _require_panel   5 5 0   0%
src / codeaudit / dashboard_reports.py create_statistics_overview   22 22 0   0%
src / codeaudit / dashboard_reports.py report_sast_results   38 38 0   0%
src / codeaudit / dashboard_reports.py report_used_modules   20 20 0   0%
src / codeaudit / dashboard_reports.py get_info_text   4 4 0   0%
src / codeaudit / dashboard_reports.py get_disclaimer_text   4 4 0   0%
src / codeaudit / dashboard_reports.py (no function)   7 7 0   0%
src / codeaudit / filehelpfunctions.py read_in_source_file   13 7 0   46%
src / codeaudit / filehelpfunctions.py collect_python_source_files   15 15 0   0%
src / codeaudit / filehelpfunctions.py get_filename_from_path   1 0 0   100%
src / codeaudit / filehelpfunctions.py is_ast_parsable   9 0 0   100%
src / codeaudit / filehelpfunctions.py has_python_files   5 5 0   0%
src / codeaudit / filehelpfunctions.py (no function)   10 0 0   100%
src / codeaudit / htmlhelpfunctions.py dict_to_html   17 17 0   0%
src / codeaudit / htmlhelpfunctions.py json_to_html   7 7 0   0%
src / codeaudit / htmlhelpfunctions.py dict_list_to_html_table   15 15 0   0%
src / codeaudit / htmlhelpfunctions.py (no function)   5 0 0   100%
src / codeaudit / issuevalidations.py get_full_attr_name   7 0 0   100%
src / codeaudit / issuevalidations.py find_constructs   72 0 0   100%
src / codeaudit / issuevalidations.py (no function)   6 0 0   100%
src / codeaudit / privacy_lint.py data_egress_scan   32 18 0   44%
src / codeaudit / privacy_lint.py spy_check   5 0 0   100%
src / codeaudit / privacy_lint.py _codeaudit_directory_spyscan   10 10 0   0%
src / codeaudit / privacy_lint.py load_secrets_list   8 0 0   100%
src / codeaudit / privacy_lint.py match_secret   7 0 0   100%
src / codeaudit / privacy_lint.py has_privacy_findings   6 6 0   0%
src / codeaudit / privacy_lint.py count_privacy_check_results   2 0 0   100%
src / codeaudit / privacy_lint.py collect_secret_values   42 9 0   79%
src / codeaudit / privacy_lint.py collect_secret_values.get_constant   1 1 0   0%
src / codeaudit / privacy_lint.py collect_secret_values.is_os_environ   1 1 0   0%
src / codeaudit / privacy_lint.py collect_secret_values.get_target_repr   5 0 0   100%
src / codeaudit / privacy_lint.py collect_secret_values.classify_value   15 4 0   73%
src / codeaudit / privacy_lint.py collect_secret_values.get_original_line   11 1 0   91%
src / codeaudit / privacy_lint.py collect_secret_values.get_call_name   8 1 0   88%
src / codeaudit / privacy_lint.py collect_secret_values.add_value   12 0 0   100%
src / codeaudit / privacy_lint.py (no function)   17 0 0   100%
src / codeaudit / pypi_package_scan.py get_pypi_package_info   9 9 0   0%
src / codeaudit / pypi_package_scan.py get_pypi_download_info   15 1 0   93%
src / codeaudit / pypi_package_scan.py get_package_source   21 21 0   0%
src / codeaudit / pypi_package_scan.py (no function)   12 0 0   100%
src / codeaudit / reporting.py overview_report   73 73 0   0%
src / codeaudit / reporting.py display_found_modules   7 7 0   0%
src / codeaudit / reporting.py scan_report   38 38 0   0%
src / codeaudit / reporting.py secrets_report   10 10 0   0%
src / codeaudit / reporting.py pylint_reporting   14 0 0   100%
src / codeaudit / reporting.py single_file_report   41 41 0   0%
src / codeaudit / reporting.py directory_scan_report   47 47 0   0%
src / codeaudit / reporting.py report_module_information   38 38 0   0%
src / codeaudit / reporting.py module_vulnerability_check   9 9 0   0%
src / codeaudit / reporting.py create_htmlfile   29 29 0   0%
src / codeaudit / reporting.py extract_altair_html   6 6 0   0%
src / codeaudit / reporting.py replace_second_dot   4 4 0   0%
src / codeaudit / reporting.py get_info_on_test   21 21 0   0%
src / codeaudit / reporting.py report_implemented_tests   13 13 0   0%
src / codeaudit / reporting.py printProgressBar   10 10 0   0%
src / codeaudit / reporting.py (no function)   39 0 0   100%
src / codeaudit / security_checks.py load_sast_checks   2 0 0   100%
src / codeaudit / security_checks.py ast_security_checks   7 4 0   43%
src / codeaudit / security_checks.py perform_validations   7 0 0   100%
src / codeaudit / security_checks.py (no function)   7 0 0   100%
src / codeaudit / suppression.py get_all_comments_by_line   11 2 0   82%
src / codeaudit / suppression.py get_start_to_end_lines   41 27 0   34%
src / codeaudit / suppression.py is_suppressed   6 0 0   100%
src / codeaudit / suppression.py filter_sast_results   26 3 0   88%
src / codeaudit / suppression.py match_suppression_keyword   6 0 0   100%
src / codeaudit / suppression.py (no function)   10 0 0   100%
src / codeaudit / totals.py count_ast_objects   18 1 0   94%
src / codeaudit / totals.py count_comment_lines   16 0 0   100%
src / codeaudit / totals.py count_lines_iterate   12 6 0   50%
src / codeaudit / totals.py get_statistics   6 6 0   0%
src / codeaudit / totals.py total_modules   5 5 0   0%
src / codeaudit / totals.py overview_per_file   12 0 0   100%
src / codeaudit / totals.py overview_count   13 13 0   0%
src / codeaudit / totals.py (no function)   12 0 0   100%
Total     1988 1346 1   32%

No items found using the specified filter.