-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpytest_results.json
More file actions
1 lines (1 loc) · 87.8 KB
/
pytest_results.json
File metadata and controls
1 lines (1 loc) · 87.8 KB
1
{"created": 1752370563.821014, "duration": 19.952839851379395, "exitcode": 0, "root": "/home/justinchiu_cohere_com/librarybench/projects/code_pattern_detector/code_pattern_detector_security_auditor", "environment": {}, "summary": {"passed": 138, "total": 138, "collected": 138}, "collectors": [{"nodeid": "", "outcome": "passed", "result": [{"nodeid": ".", "type": "Dir"}]}, {"nodeid": "pypatternguard", "outcome": "passed", "result": []}, {"nodeid": "pypatternguard.egg-info", "outcome": "passed", "result": []}, {"nodeid": "tests/test_compliance.py::TestComplianceMapper", "outcome": "passed", "result": [{"nodeid": "tests/test_compliance.py::TestComplianceMapper::test_generate_compliance_report", "type": "Function", "lineno": 112}, {"nodeid": "tests/test_compliance.py::TestComplianceMapper::test_pci_dss_mappings", "type": "Function", "lineno": 127}, {"nodeid": "tests/test_compliance.py::TestComplianceMapper::test_soc2_mappings", "type": "Function", "lineno": 151}, {"nodeid": "tests/test_compliance.py::TestComplianceMapper::test_compliance_scores", "type": "Function", "lineno": 167}, {"nodeid": "tests/test_compliance.py::TestComplianceMapper::test_suppressed_vulnerabilities_excluded", "type": "Function", "lineno": 179}, {"nodeid": "tests/test_compliance.py::TestComplianceMapper::test_executive_summary_generation", "type": "Function", "lineno": 191}, {"nodeid": "tests/test_compliance.py::TestComplianceMapper::test_recommendations_generation", "type": "Function", "lineno": 209}, {"nodeid": "tests/test_compliance.py::TestComplianceMapper::test_compliant_requirements", "type": "Function", "lineno": 232}, {"nodeid": "tests/test_compliance.py::TestComplianceMapper::test_metadata_in_report", "type": "Function", "lineno": 260}, {"nodeid": "tests/test_compliance.py::TestComplianceMapper::test_all_pci_dss_requirements_present", "type": "Function", "lineno": 274}]}, {"nodeid": "tests/test_compliance.py", "outcome": "passed", "result": [{"nodeid": "tests/test_compliance.py::TestComplianceMapper", "type": "Class"}]}, {"nodeid": "tests/test_config.py::TestScannerConfig", "outcome": "passed", "result": [{"nodeid": "tests/test_config.py::TestScannerConfig::test_default_config", "type": "Function", "lineno": 12}, {"nodeid": "tests/test_config.py::TestScannerConfig::test_custom_config", "type": "Function", "lineno": 24}, {"nodeid": "tests/test_config.py::TestScannerConfig::test_config_validation", "type": "Function", "lineno": 40}, {"nodeid": "tests/test_config.py::TestScannerConfig::test_exclude_patterns", "type": "Function", "lineno": 55}, {"nodeid": "tests/test_config.py::TestScannerConfig::test_suppression_file_config", "type": "Function", "lineno": 65}, {"nodeid": "tests/test_config.py::TestScannerConfig::test_compliance_frameworks_config", "type": "Function", "lineno": 73}, {"nodeid": "tests/test_config.py::TestScannerConfig::test_performance_settings", "type": "Function", "lineno": 83}, {"nodeid": "tests/test_config.py::TestScannerConfig::test_advanced_settings", "type": "Function", "lineno": 97}, {"nodeid": "tests/test_config.py::TestScannerConfig::test_custom_rules_path", "type": "Function", "lineno": 109}, {"nodeid": "tests/test_config.py::TestScannerConfig::test_snippet_context_lines", "type": "Function", "lineno": 117}, {"nodeid": "tests/test_config.py::TestScannerConfig::test_invalid_config_values", "type": "Function", "lineno": 125}, {"nodeid": "tests/test_config.py::TestScannerConfig::test_config_serialization", "type": "Function", "lineno": 139}, {"nodeid": "tests/test_config.py::TestScannerConfig::test_dependency_checking_config", "type": "Function", "lineno": 153}]}, {"nodeid": "tests/test_config.py", "outcome": "passed", "result": [{"nodeid": "tests/test_config.py::TestScannerConfig", "type": "Class"}]}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases", "outcome": "passed", "result": [{"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_empty_file_scanning", "type": "Function", "lineno": 19}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_malformed_python_code", "type": "Function", "lineno": 25}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_unicode_in_code", "type": "Function", "lineno": 37}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_very_long_lines", "type": "Function", "lineno": 49}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_nested_string_quotes", "type": "Function", "lineno": 57}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_multiline_strings", "type": "Function", "lineno": 70}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_commented_out_vulnerabilities", "type": "Function", "lineno": 84}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_binary_file_detection", "type": "Function", "lineno": 100}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_recursive_ast_structures", "type": "Function", "lineno": 109}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_special_characters_in_patterns", "type": "Function", "lineno": 129}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_case_sensitivity", "type": "Function", "lineno": 143}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_whitespace_variations", "type": "Function", "lineno": 157}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_encoding_issues", "type": "Function", "lineno": 171}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_extremely_large_file", "type": "Function", "lineno": 180}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_no_newlines_in_file", "type": "Function", "lineno": 189}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_windows_line_endings", "type": "Function", "lineno": 198}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_mixed_indentation", "type": "Function", "lineno": 207}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_non_ascii_filenames", "type": "Function", "lineno": 221}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_circular_imports_handling", "type": "Function", "lineno": 229}]}, {"nodeid": "tests/test_edge_cases.py", "outcome": "passed", "result": [{"nodeid": "tests/test_edge_cases.py::TestEdgeCases", "type": "Class"}]}, {"nodeid": "tests/test_integration.py::TestIntegration", "outcome": "passed", "result": [{"nodeid": "tests/test_integration.py::TestIntegration::test_full_scan_workflow", "type": "Function", "lineno": 166}, {"nodeid": "tests/test_integration.py::TestIntegration::test_specific_vulnerability_detection", "type": "Function", "lineno": 237}, {"nodeid": "tests/test_integration.py::TestIntegration::test_suppression_functionality", "type": "Function", "lineno": 267}, {"nodeid": "tests/test_integration.py::TestIntegration::test_performance_requirements", "type": "Function", "lineno": 293}, {"nodeid": "tests/test_integration.py::TestIntegration::test_incremental_scan_simulation", "type": "Function", "lineno": 319}, {"nodeid": "tests/test_integration.py::TestIntegration::test_compliance_mapping_accuracy", "type": "Function", "lineno": 350}]}, {"nodeid": "tests/test_integration.py", "outcome": "passed", "result": [{"nodeid": "tests/test_integration.py::TestIntegration", "type": "Class"}]}, {"nodeid": "tests/test_models.py::TestVulnerability", "outcome": "passed", "result": [{"nodeid": "tests/test_models.py::TestVulnerability::test_vulnerability_creation", "type": "Function", "lineno": 22}, {"nodeid": "tests/test_models.py::TestVulnerability::test_risk_score_calculation", "type": "Function", "lineno": 46}, {"nodeid": "tests/test_models.py::TestVulnerability::test_compliance_mappings", "type": "Function", "lineno": 73}]}, {"nodeid": "tests/test_models.py::TestScanResult", "outcome": "passed", "result": [{"nodeid": "tests/test_models.py::TestScanResult::test_scan_result_creation", "type": "Function", "lineno": 98}, {"nodeid": "tests/test_models.py::TestScanResult::test_vulnerabilities_by_severity", "type": "Function", "lineno": 116}, {"nodeid": "tests/test_models.py::TestScanResult::test_summary_stats", "type": "Function", "lineno": 158}]}, {"nodeid": "tests/test_models.py::TestComplianceReport", "outcome": "passed", "result": [{"nodeid": "tests/test_models.py::TestComplianceReport::test_compliance_report_creation", "type": "Function", "lineno": 199}]}, {"nodeid": "tests/test_models.py::TestSuppressionRule", "outcome": "passed", "result": [{"nodeid": "tests/test_models.py::TestSuppressionRule::test_suppression_rule_creation", "type": "Function", "lineno": 242}]}, {"nodeid": "tests/test_models.py", "outcome": "passed", "result": [{"nodeid": "tests/test_models.py::TestVulnerability", "type": "Class"}, {"nodeid": "tests/test_models.py::TestScanResult", "type": "Class"}, {"nodeid": "tests/test_models.py::TestComplianceReport", "type": "Class"}, {"nodeid": "tests/test_models.py::TestSuppressionRule", "type": "Class"}]}, {"nodeid": "tests/test_patterns.py::TestHardcodedSecretDetector", "outcome": "passed", "result": [{"nodeid": "tests/test_patterns.py::TestHardcodedSecretDetector::test_detect_api_key", "type": "Function", "lineno": 18}, {"nodeid": "tests/test_patterns.py::TestHardcodedSecretDetector::test_detect_password", "type": "Function", "lineno": 33}, {"nodeid": "tests/test_patterns.py::TestHardcodedSecretDetector::test_detect_aws_credentials", "type": "Function", "lineno": 48}, {"nodeid": "tests/test_patterns.py::TestHardcodedSecretDetector::test_detect_private_key", "type": "Function", "lineno": 63}, {"nodeid": "tests/test_patterns.py::TestHardcodedSecretDetector::test_skip_comments", "type": "Function", "lineno": 78}]}, {"nodeid": "tests/test_patterns.py::TestSQLInjectionDetector", "outcome": "passed", "result": [{"nodeid": "tests/test_patterns.py::TestSQLInjectionDetector::test_detect_string_concatenation", "type": "Function", "lineno": 96}, {"nodeid": "tests/test_patterns.py::TestSQLInjectionDetector::test_detect_string_formatting", "type": "Function", "lineno": 111}, {"nodeid": "tests/test_patterns.py::TestSQLInjectionDetector::test_detect_f_string_injection", "type": "Function", "lineno": 125}, {"nodeid": "tests/test_patterns.py::TestSQLInjectionDetector::test_detect_format_method", "type": "Function", "lineno": 138}, {"nodeid": "tests/test_patterns.py::TestSQLInjectionDetector::test_ast_based_detection", "type": "Function", "lineno": 151}]}, {"nodeid": "tests/test_patterns.py::TestCryptographicMisuseDetector", "outcome": "passed", "result": [{"nodeid": "tests/test_patterns.py::TestCryptographicMisuseDetector::test_detect_weak_algorithms", "type": "Function", "lineno": 171}, {"nodeid": "tests/test_patterns.py::TestCryptographicMisuseDetector::test_detect_weak_ciphers", "type": "Function", "lineno": 187}, {"nodeid": "tests/test_patterns.py::TestCryptographicMisuseDetector::test_detect_hardcoded_iv", "type": "Function", "lineno": 201}, {"nodeid": "tests/test_patterns.py::TestCryptographicMisuseDetector::test_compliance_mappings", "type": "Function", "lineno": 218}]}, {"nodeid": "tests/test_patterns.py::TestInputValidationDetector", "outcome": "passed", "result": [{"nodeid": "tests/test_patterns.py::TestInputValidationDetector::test_detect_eval_usage", "type": "Function", "lineno": 234}, {"nodeid": "tests/test_patterns.py::TestInputValidationDetector::test_detect_exec_usage", "type": "Function", "lineno": 250}, {"nodeid": "tests/test_patterns.py::TestInputValidationDetector::test_detect_pickle_loads", "type": "Function", "lineno": 264}, {"nodeid": "tests/test_patterns.py::TestInputValidationDetector::test_detect_command_injection", "type": "Function", "lineno": 280}, {"nodeid": "tests/test_patterns.py::TestInputValidationDetector::test_detect_xss_vulnerabilities", "type": "Function", "lineno": 295}]}, {"nodeid": "tests/test_patterns.py", "outcome": "passed", "result": [{"nodeid": "tests/test_patterns.py::TestHardcodedSecretDetector", "type": "Class"}, {"nodeid": "tests/test_patterns.py::TestSQLInjectionDetector", "type": "Class"}, {"nodeid": "tests/test_patterns.py::TestCryptographicMisuseDetector", "type": "Class"}, {"nodeid": "tests/test_patterns.py::TestInputValidationDetector", "type": "Class"}]}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection", "outcome": "passed", "result": [{"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_jwt_secret_detection", "type": "Function", "lineno": 17}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_database_url_with_password", "type": "Function", "lineno": 29}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_oauth_secrets", "type": "Function", "lineno": 42}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_encryption_key_variations", "type": "Function", "lineno": 54}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_sql_injection_union_attacks", "type": "Function", "lineno": 67}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_sql_injection_order_by", "type": "Function", "lineno": 79}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_nosql_injection", "type": "Function", "lineno": 91}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_ldap_injection", "type": "Function", "lineno": 107}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_weak_random_generation", "type": "Function", "lineno": 119}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_insecure_cipher_modes", "type": "Function", "lineno": 132}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_weak_key_derivation", "type": "Function", "lineno": 145}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_yaml_unsafe_load", "type": "Function", "lineno": 158}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_xml_xxe_vulnerabilities", "type": "Function", "lineno": 174}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_path_traversal_patterns", "type": "Function", "lineno": 187}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_template_injection", "type": "Function", "lineno": 199}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_command_injection_variations", "type": "Function", "lineno": 211}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_ssrf_patterns", "type": "Function", "lineno": 231}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_timing_attack_vulnerabilities", "type": "Function", "lineno": 244}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_regex_dos_patterns", "type": "Function", "lineno": 257}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_integer_overflow_patterns", "type": "Function", "lineno": 270}]}, {"nodeid": "tests/test_patterns_extended.py", "outcome": "passed", "result": [{"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection", "type": "Class"}]}, {"nodeid": "tests/test_performance.py::TestPerformance", "outcome": "passed", "result": [{"nodeid": "tests/test_performance.py::TestPerformance::test_single_file_scan_speed", "type": "Function", "lineno": 15}, {"nodeid": "tests/test_performance.py::TestPerformance::test_parallel_scanning", "type": "Function", "lineno": 36}, {"nodeid": "tests/test_performance.py::TestPerformance::test_memory_efficiency", "type": "Function", "lineno": 62}, {"nodeid": "tests/test_performance.py::TestPerformance::test_incremental_scan_simulation", "type": "Function", "lineno": 82}, {"nodeid": "tests/test_performance.py::TestPerformance::test_pattern_matching_performance", "type": "Function", "lineno": 112}, {"nodeid": "tests/test_performance.py::TestPerformance::test_ast_parsing_performance", "type": "Function", "lineno": 131}, {"nodeid": "tests/test_performance.py::TestPerformance::test_concurrent_file_access", "type": "Function", "lineno": 160}, {"nodeid": "tests/test_performance.py::TestPerformance::test_large_codebase_simulation", "type": "Function", "lineno": 186}, {"nodeid": "tests/test_performance.py::TestPerformance::test_file_size_limit_performance", "type": "Function", "lineno": 213}, {"nodeid": "tests/test_performance.py::TestPerformance::test_cache_effectiveness", "type": "Function", "lineno": 236}]}, {"nodeid": "tests/test_performance.py", "outcome": "passed", "result": [{"nodeid": "tests/test_performance.py::TestPerformance", "type": "Class"}]}, {"nodeid": "tests/test_reports.py::TestReportGenerator", "outcome": "passed", "result": [{"nodeid": "tests/test_reports.py::TestReportGenerator::test_export_json", "type": "Function", "lineno": 120}, {"nodeid": "tests/test_reports.py::TestReportGenerator::test_export_xml", "type": "Function", "lineno": 156}, {"nodeid": "tests/test_reports.py::TestReportGenerator::test_export_invalid_format", "type": "Function", "lineno": 208}, {"nodeid": "tests/test_reports.py::TestReportGenerator::test_export_compliance_report_json", "type": "Function", "lineno": 215}, {"nodeid": "tests/test_reports.py::TestReportGenerator::test_export_compliance_report_xml", "type": "Function", "lineno": 239}, {"nodeid": "tests/test_reports.py::TestReportGenerator::test_summary_stats_in_xml", "type": "Function", "lineno": 280}, {"nodeid": "tests/test_reports.py::TestReportGenerator::test_scan_errors_in_export", "type": "Function", "lineno": 310}, {"nodeid": "tests/test_reports.py::TestReportGenerator::test_code_snippet_in_export", "type": "Function", "lineno": 350}]}, {"nodeid": "tests/test_reports.py", "outcome": "passed", "result": [{"nodeid": "tests/test_reports.py::TestReportGenerator", "type": "Class"}]}, {"nodeid": "tests/test_scanner.py::TestSecurityScanner", "outcome": "passed", "result": [{"nodeid": "tests/test_scanner.py::TestSecurityScanner::test_scan_vulnerable_project", "type": "Function", "lineno": 108}, {"nodeid": "tests/test_scanner.py::TestSecurityScanner::test_scan_single_file", "type": "Function", "lineno": 133}, {"nodeid": "tests/test_scanner.py::TestSecurityScanner::test_scan_nonexistent_path", "type": "Function", "lineno": 149}, {"nodeid": "tests/test_scanner.py::TestSecurityScanner::test_custom_config", "type": "Function", "lineno": 155}, {"nodeid": "tests/test_scanner.py::TestSecurityScanner::test_summary_stats", "type": "Function", "lineno": 174}, {"nodeid": "tests/test_scanner.py::TestSecurityScanner::test_vulnerabilities_by_severity", "type": "Function", "lineno": 189}, {"nodeid": "tests/test_scanner.py::TestSecurityScanner::test_compliance_mappings", "type": "Function", "lineno": 203}, {"nodeid": "tests/test_scanner.py::TestSecurityScanner::test_code_snippets_included", "type": "Function", "lineno": 213}, {"nodeid": "tests/test_scanner.py::TestSecurityScanner::test_scan_performance", "type": "Function", "lineno": 228}, {"nodeid": "tests/test_scanner.py::TestSecurityScanner::test_file_size_limit", "type": "Function", "lineno": 248}, {"nodeid": "tests/test_scanner.py::TestSecurityScanner::test_scan_errors_captured", "type": "Function", "lineno": 261}]}, {"nodeid": "tests/test_scanner.py", "outcome": "passed", "result": [{"nodeid": "tests/test_scanner.py::TestSecurityScanner", "type": "Class"}]}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager", "outcome": "passed", "result": [{"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_load_rules_from_file", "type": "Function", "lineno": 70}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_add_rule", "type": "Function", "lineno": 79}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_should_suppress_by_id_pattern", "type": "Function", "lineno": 98}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_should_suppress_by_file_pattern", "type": "Function", "lineno": 114}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_should_suppress_by_type", "type": "Function", "lineno": 129}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_should_suppress_by_location", "type": "Function", "lineno": 144}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_expired_rule_not_applied", "type": "Function", "lineno": 159}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_inactive_rule_not_applied", "type": "Function", "lineno": 177}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_get_suppression_reason", "type": "Function", "lineno": 193}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_create_rule_from_vulnerability", "type": "Function", "lineno": 210}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_get_active_rules", "type": "Function", "lineno": 228}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_audit_trail", "type": "Function", "lineno": 258}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_audit_trail_date_filtering", "type": "Function", "lineno": 290}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_save_rules", "type": "Function", "lineno": 317}]}, {"nodeid": "tests/test_suppression.py", "outcome": "passed", "result": [{"nodeid": "tests/test_suppression.py::TestSuppressionManager", "type": "Class"}]}, {"nodeid": "tests", "outcome": "passed", "result": [{"nodeid": "tests/test_compliance.py", "type": "Module"}, {"nodeid": "tests/test_config.py", "type": "Module"}, {"nodeid": "tests/test_edge_cases.py", "type": "Module"}, {"nodeid": "tests/test_integration.py", "type": "Module"}, {"nodeid": "tests/test_models.py", "type": "Module"}, {"nodeid": "tests/test_patterns.py", "type": "Module"}, {"nodeid": "tests/test_patterns_extended.py", "type": "Module"}, {"nodeid": "tests/test_performance.py", "type": "Module"}, {"nodeid": "tests/test_reports.py", "type": "Module"}, {"nodeid": "tests/test_scanner.py", "type": "Module"}, {"nodeid": "tests/test_suppression.py", "type": "Module"}]}, {"nodeid": ".", "outcome": "passed", "result": [{"nodeid": "pypatternguard", "type": "Package"}, {"nodeid": "pypatternguard.egg-info", "type": "Dir"}, {"nodeid": "tests", "type": "Package"}]}], "tests": [{"nodeid": "tests/test_compliance.py::TestComplianceMapper::test_generate_compliance_report", "lineno": 112, "outcome": "passed", "keywords": ["test_generate_compliance_report", "TestComplianceMapper", "test_compliance.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.00043602194637060165, "outcome": "passed"}, "call": {"duration": 0.0002931300550699234, "outcome": "passed"}, "teardown": {"duration": 0.0001169200986623764, "outcome": "passed"}}, {"nodeid": "tests/test_compliance.py::TestComplianceMapper::test_pci_dss_mappings", "lineno": 127, "outcome": "passed", "keywords": ["test_pci_dss_mappings", "TestComplianceMapper", "test_compliance.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.00018448103219270706, "outcome": "passed"}, "call": {"duration": 0.00023960508406162262, "outcome": "passed"}, "teardown": {"duration": 9.385496377944946e-05, "outcome": "passed"}}, {"nodeid": "tests/test_compliance.py::TestComplianceMapper::test_soc2_mappings", "lineno": 151, "outcome": "passed", "keywords": ["test_soc2_mappings", "TestComplianceMapper", "test_compliance.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.00015422888100147247, "outcome": "passed"}, "call": {"duration": 0.00020069628953933716, "outcome": "passed"}, "teardown": {"duration": 8.823443204164505e-05, "outcome": "passed"}}, {"nodeid": "tests/test_compliance.py::TestComplianceMapper::test_compliance_scores", "lineno": 167, "outcome": "passed", "keywords": ["test_compliance_scores", "TestComplianceMapper", "test_compliance.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.00016571953892707825, "outcome": "passed"}, "call": {"duration": 0.00020341761410236359, "outcome": "passed"}, "teardown": {"duration": 8.918158710002899e-05, "outcome": "passed"}}, {"nodeid": "tests/test_compliance.py::TestComplianceMapper::test_suppressed_vulnerabilities_excluded", "lineno": 179, "outcome": "passed", "keywords": ["test_suppressed_vulnerabilities_excluded", "TestComplianceMapper", "test_compliance.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.0001641819253563881, "outcome": "passed"}, "call": {"duration": 0.0001960303634405136, "outcome": "passed"}, "teardown": {"duration": 8.375849574804306e-05, "outcome": "passed"}}, {"nodeid": "tests/test_compliance.py::TestComplianceMapper::test_executive_summary_generation", "lineno": 191, "outcome": "passed", "keywords": ["test_executive_summary_generation", "TestComplianceMapper", "test_compliance.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.00014726724475622177, "outcome": "passed"}, "call": {"duration": 0.00020044203847646713, "outcome": "passed"}, "teardown": {"duration": 8.125696331262589e-05, "outcome": "passed"}}, {"nodeid": "tests/test_compliance.py::TestComplianceMapper::test_recommendations_generation", "lineno": 209, "outcome": "passed", "keywords": ["test_recommendations_generation", "TestComplianceMapper", "test_compliance.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.00014363694936037064, "outcome": "passed"}, "call": {"duration": 0.00020833220332860947, "outcome": "passed"}, "teardown": {"duration": 8.931290358304977e-05, "outcome": "passed"}}, {"nodeid": "tests/test_compliance.py::TestComplianceMapper::test_compliant_requirements", "lineno": 232, "outcome": "passed", "keywords": ["test_compliant_requirements", "TestComplianceMapper", "test_compliance.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.629115134477615e-05, "outcome": "passed"}, "call": {"duration": 0.00019251927733421326, "outcome": "passed"}, "teardown": {"duration": 7.408112287521362e-05, "outcome": "passed"}}, {"nodeid": "tests/test_compliance.py::TestComplianceMapper::test_metadata_in_report", "lineno": 260, "outcome": "passed", "keywords": ["test_metadata_in_report", "TestComplianceMapper", "test_compliance.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.00019015930593013763, "outcome": "passed"}, "call": {"duration": 0.00019944459199905396, "outcome": "passed"}, "teardown": {"duration": 8.148606866598129e-05, "outcome": "passed"}}, {"nodeid": "tests/test_compliance.py::TestComplianceMapper::test_all_pci_dss_requirements_present", "lineno": 274, "outcome": "passed", "keywords": ["test_all_pci_dss_requirements_present", "TestComplianceMapper", "test_compliance.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.540173828601837e-05, "outcome": "passed"}, "call": {"duration": 0.00018815230578184128, "outcome": "passed"}, "teardown": {"duration": 7.852818816900253e-05, "outcome": "passed"}}, {"nodeid": "tests/test_config.py::TestScannerConfig::test_default_config", "lineno": 12, "outcome": "passed", "keywords": ["test_default_config", "TestScannerConfig", "test_config.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 9.057577699422836e-05, "outcome": "passed"}, "call": {"duration": 0.00012992601841688156, "outcome": "passed"}, "teardown": {"duration": 7.172022014856339e-05, "outcome": "passed"}}, {"nodeid": "tests/test_config.py::TestScannerConfig::test_custom_config", "lineno": 24, "outcome": "passed", "keywords": ["test_custom_config", "TestScannerConfig", "test_config.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.330439984798431e-05, "outcome": "passed"}, "call": {"duration": 0.00012590177357196808, "outcome": "passed"}, "teardown": {"duration": 7.304642349481583e-05, "outcome": "passed"}}, {"nodeid": "tests/test_config.py::TestScannerConfig::test_config_validation", "lineno": 40, "outcome": "passed", "keywords": ["test_config_validation", "TestScannerConfig", "test_config.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.093604654073715e-05, "outcome": "passed"}, "call": {"duration": 0.00019232835620641708, "outcome": "passed"}, "teardown": {"duration": 8.056778460741043e-05, "outcome": "passed"}}, {"nodeid": "tests/test_config.py::TestScannerConfig::test_exclude_patterns", "lineno": 55, "outcome": "passed", "keywords": ["test_exclude_patterns", "TestScannerConfig", "test_config.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.578544318675995e-05, "outcome": "passed"}, "call": {"duration": 0.0001016547903418541, "outcome": "passed"}, "teardown": {"duration": 7.156375795602798e-05, "outcome": "passed"}}, {"nodeid": "tests/test_config.py::TestScannerConfig::test_suppression_file_config", "lineno": 65, "outcome": "passed", "keywords": ["test_suppression_file_config", "TestScannerConfig", "test_config.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.168389856815338e-05, "outcome": "passed"}, "call": {"duration": 0.00010842923074960709, "outcome": "passed"}, "teardown": {"duration": 6.959214806556702e-05, "outcome": "passed"}}, {"nodeid": "tests/test_config.py::TestScannerConfig::test_compliance_frameworks_config", "lineno": 73, "outcome": "passed", "keywords": ["test_compliance_frameworks_config", "TestScannerConfig", "test_config.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.247272878885269e-05, "outcome": "passed"}, "call": {"duration": 9.725149720907211e-05, "outcome": "passed"}, "teardown": {"duration": 6.784778088331223e-05, "outcome": "passed"}}, {"nodeid": "tests/test_config.py::TestScannerConfig::test_performance_settings", "lineno": 83, "outcome": "passed", "keywords": ["test_performance_settings", "TestScannerConfig", "test_config.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 8.110608905553818e-05, "outcome": "passed"}, "call": {"duration": 0.00010427366942167282, "outcome": "passed"}, "teardown": {"duration": 7.103476673364639e-05, "outcome": "passed"}}, {"nodeid": "tests/test_config.py::TestScannerConfig::test_advanced_settings", "lineno": 97, "outcome": "passed", "keywords": ["test_advanced_settings", "TestScannerConfig", "test_config.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 8.002109825611115e-05, "outcome": "passed"}, "call": {"duration": 9.919237345457077e-05, "outcome": "passed"}, "teardown": {"duration": 7.039960473775864e-05, "outcome": "passed"}}, {"nodeid": "tests/test_config.py::TestScannerConfig::test_custom_rules_path", "lineno": 109, "outcome": "passed", "keywords": ["test_custom_rules_path", "TestScannerConfig", "test_config.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.232371717691422e-05, "outcome": "passed"}, "call": {"duration": 0.0002247905358672142, "outcome": "passed"}, "teardown": {"duration": 8.152984082698822e-05, "outcome": "passed"}}, {"nodeid": "tests/test_config.py::TestScannerConfig::test_snippet_context_lines", "lineno": 117, "outcome": "passed", "keywords": ["test_snippet_context_lines", "TestScannerConfig", "test_config.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.931701838970184e-05, "outcome": "passed"}, "call": {"duration": 0.00011109281331300735, "outcome": "passed"}, "teardown": {"duration": 6.981845945119858e-05, "outcome": "passed"}}, {"nodeid": "tests/test_config.py::TestScannerConfig::test_invalid_config_values", "lineno": 125, "outcome": "passed", "keywords": ["test_invalid_config_values", "TestScannerConfig", "test_config.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.200334221124649e-05, "outcome": "passed"}, "call": {"duration": 0.00014652684330940247, "outcome": "passed"}, "teardown": {"duration": 7.647275924682617e-05, "outcome": "passed"}}, {"nodeid": "tests/test_config.py::TestScannerConfig::test_config_serialization", "lineno": 139, "outcome": "passed", "keywords": ["test_config_serialization", "TestScannerConfig", "test_config.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.042102515697479e-05, "outcome": "passed"}, "call": {"duration": 0.00013131648302078247, "outcome": "passed"}, "teardown": {"duration": 6.96815550327301e-05, "outcome": "passed"}}, {"nodeid": "tests/test_config.py::TestScannerConfig::test_dependency_checking_config", "lineno": 153, "outcome": "passed", "keywords": ["test_dependency_checking_config", "TestScannerConfig", "test_config.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.512327283620834e-05, "outcome": "passed"}, "call": {"duration": 0.00011132564395666122, "outcome": "passed"}, "teardown": {"duration": 7.768813520669937e-05, "outcome": "passed"}}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_empty_file_scanning", "lineno": 19, "outcome": "passed", "keywords": ["test_empty_file_scanning", "TestEdgeCases", "test_edge_cases.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 8.955970406532288e-05, "outcome": "passed"}, "call": {"duration": 0.0025849537923932076, "outcome": "passed"}, "teardown": {"duration": 8.863117545843124e-05, "outcome": "passed"}}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_malformed_python_code", "lineno": 25, "outcome": "passed", "keywords": ["test_malformed_python_code", "TestEdgeCases", "test_edge_cases.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 8.086580783128738e-05, "outcome": "passed"}, "call": {"duration": 0.001062634401023388, "outcome": "passed"}, "teardown": {"duration": 8.400902152061462e-05, "outcome": "passed"}}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_unicode_in_code", "lineno": 37, "outcome": "passed", "keywords": ["test_unicode_in_code", "TestEdgeCases", "test_edge_cases.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 8.74977558851242e-05, "outcome": "passed"}, "call": {"duration": 0.00021818745881319046, "outcome": "passed"}, "teardown": {"duration": 8.057337254285812e-05, "outcome": "passed"}}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_very_long_lines", "lineno": 49, "outcome": "passed", "keywords": ["test_very_long_lines", "TestEdgeCases", "test_edge_cases.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.860735058784485e-05, "outcome": "passed"}, "call": {"duration": 0.002258613705635071, "outcome": "passed"}, "teardown": {"duration": 7.57826492190361e-05, "outcome": "passed"}}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_nested_string_quotes", "lineno": 57, "outcome": "passed", "keywords": ["test_nested_string_quotes", "TestEdgeCases", "test_edge_cases.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 9.123701602220535e-05, "outcome": "passed"}, "call": {"duration": 0.00020463019609451294, "outcome": "passed"}, "teardown": {"duration": 7.171742618083954e-05, "outcome": "passed"}}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_multiline_strings", "lineno": 70, "outcome": "passed", "keywords": ["test_multiline_strings", "TestEdgeCases", "test_edge_cases.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.7846460044384e-05, "outcome": "passed"}, "call": {"duration": 0.00014903023838996887, "outcome": "passed"}, "teardown": {"duration": 6.908457726240158e-05, "outcome": "passed"}}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_commented_out_vulnerabilities", "lineno": 84, "outcome": "passed", "keywords": ["test_commented_out_vulnerabilities", "TestEdgeCases", "test_edge_cases.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.303711026906967e-05, "outcome": "passed"}, "call": {"duration": 0.00029496103525161743, "outcome": "passed"}, "teardown": {"duration": 7.98860564827919e-05, "outcome": "passed"}}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_binary_file_detection", "lineno": 100, "outcome": "passed", "keywords": ["test_binary_file_detection", "TestEdgeCases", "test_edge_cases.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.155351340770721e-05, "outcome": "passed"}, "call": {"duration": 0.00012612063437700272, "outcome": "passed"}, "teardown": {"duration": 6.864871829748154e-05, "outcome": "passed"}}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_recursive_ast_structures", "lineno": 109, "outcome": "passed", "keywords": ["test_recursive_ast_structures", "TestEdgeCases", "test_edge_cases.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.098354399204254e-05, "outcome": "passed"}, "call": {"duration": 0.0006541358307003975, "outcome": "passed"}, "teardown": {"duration": 8.779484778642654e-05, "outcome": "passed"}}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_special_characters_in_patterns", "lineno": 129, "outcome": "passed", "keywords": ["test_special_characters_in_patterns", "TestEdgeCases", "test_edge_cases.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 8.01626592874527e-05, "outcome": "passed"}, "call": {"duration": 0.00021310895681381226, "outcome": "passed"}, "teardown": {"duration": 8.712615817785263e-05, "outcome": "passed"}}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_case_sensitivity", "lineno": 143, "outcome": "passed", "keywords": ["test_case_sensitivity", "TestEdgeCases", "test_edge_cases.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.869303226470947e-05, "outcome": "passed"}, "call": {"duration": 0.0002451445907354355, "outcome": "passed"}, "teardown": {"duration": 8.294451981782913e-05, "outcome": "passed"}}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_whitespace_variations", "lineno": 157, "outcome": "passed", "keywords": ["test_whitespace_variations", "TestEdgeCases", "test_edge_cases.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.698312401771545e-05, "outcome": "passed"}, "call": {"duration": 0.00027106422930955887, "outcome": "passed"}, "teardown": {"duration": 7.287692278623581e-05, "outcome": "passed"}}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_encoding_issues", "lineno": 171, "outcome": "passed", "keywords": ["test_encoding_issues", "TestEdgeCases", "test_edge_cases.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.409416139125824e-05, "outcome": "passed"}, "call": {"duration": 0.00016731396317481995, "outcome": "passed"}, "teardown": {"duration": 7.265247404575348e-05, "outcome": "passed"}}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_extremely_large_file", "lineno": 180, "outcome": "passed", "keywords": ["test_extremely_large_file", "TestEdgeCases", "test_edge_cases.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.25993886590004e-05, "outcome": "passed"}, "call": {"duration": 0.06075822748243809, "outcome": "passed"}, "teardown": {"duration": 0.00010422151535749435, "outcome": "passed"}}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_no_newlines_in_file", "lineno": 189, "outcome": "passed", "keywords": ["test_no_newlines_in_file", "TestEdgeCases", "test_edge_cases.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 8.333567529916763e-05, "outcome": "passed"}, "call": {"duration": 0.00020613335072994232, "outcome": "passed"}, "teardown": {"duration": 8.147303014993668e-05, "outcome": "passed"}}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_windows_line_endings", "lineno": 198, "outcome": "passed", "keywords": ["test_windows_line_endings", "TestEdgeCases", "test_edge_cases.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 8.140876889228821e-05, "outcome": "passed"}, "call": {"duration": 0.00016282126307487488, "outcome": "passed"}, "teardown": {"duration": 7.261335849761963e-05, "outcome": "passed"}}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_mixed_indentation", "lineno": 207, "outcome": "passed", "keywords": ["test_mixed_indentation", "TestEdgeCases", "test_edge_cases.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.955729961395264e-05, "outcome": "passed"}, "call": {"duration": 0.00043417420238256454, "outcome": "passed"}, "teardown": {"duration": 8.733756840229034e-05, "outcome": "passed"}}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_non_ascii_filenames", "lineno": 221, "outcome": "passed", "keywords": ["test_non_ascii_filenames", "TestEdgeCases", "test_edge_cases.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 8.04513692855835e-05, "outcome": "passed"}, "call": {"duration": 0.00019813887774944305, "outcome": "passed"}, "teardown": {"duration": 7.334630936384201e-05, "outcome": "passed"}}, {"nodeid": "tests/test_edge_cases.py::TestEdgeCases::test_circular_imports_handling", "lineno": 229, "outcome": "passed", "keywords": ["test_circular_imports_handling", "TestEdgeCases", "test_edge_cases.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.50906765460968e-05, "outcome": "passed"}, "call": {"duration": 0.0001670047640800476, "outcome": "passed"}, "teardown": {"duration": 7.439311593770981e-05, "outcome": "passed"}}, {"nodeid": "tests/test_integration.py::TestIntegration::test_full_scan_workflow", "lineno": 166, "outcome": "passed", "keywords": ["test_full_scan_workflow", "TestIntegration", "test_integration.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.0006692437455058098, "outcome": "passed"}, "call": {"duration": 0.011668476276099682, "outcome": "passed"}, "teardown": {"duration": 0.0003526536747813225, "outcome": "passed"}}, {"nodeid": "tests/test_integration.py::TestIntegration::test_specific_vulnerability_detection", "lineno": 237, "outcome": "passed", "keywords": ["test_specific_vulnerability_detection", "TestIntegration", "test_integration.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.0005504637956619263, "outcome": "passed"}, "call": {"duration": 0.008593817241489887, "outcome": "passed"}, "teardown": {"duration": 0.00032403599470853806, "outcome": "passed"}}, {"nodeid": "tests/test_integration.py::TestIntegration::test_suppression_functionality", "lineno": 267, "outcome": "passed", "keywords": ["test_suppression_functionality", "TestIntegration", "test_integration.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.0005078846588730812, "outcome": "passed"}, "call": {"duration": 0.019270561635494232, "outcome": "passed"}, "teardown": {"duration": 0.0003473134711384773, "outcome": "passed"}}, {"nodeid": "tests/test_integration.py::TestIntegration::test_performance_requirements", "lineno": 293, "outcome": "passed", "keywords": ["test_performance_requirements", "TestIntegration", "test_integration.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.000531601719558239, "outcome": "passed"}, "call": {"duration": 2.036182712763548, "outcome": "passed"}, "teardown": {"duration": 0.0015882113948464394, "outcome": "passed"}}, {"nodeid": "tests/test_integration.py::TestIntegration::test_incremental_scan_simulation", "lineno": 319, "outcome": "passed", "keywords": ["test_incremental_scan_simulation", "TestIntegration", "test_integration.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.0005882726982235909, "outcome": "passed"}, "call": {"duration": 0.01678704097867012, "outcome": "passed"}, "teardown": {"duration": 0.0003525149077177048, "outcome": "passed"}}, {"nodeid": "tests/test_integration.py::TestIntegration::test_compliance_mapping_accuracy", "lineno": 350, "outcome": "passed", "keywords": ["test_compliance_mapping_accuracy", "TestIntegration", "test_integration.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.0005445796996355057, "outcome": "passed"}, "call": {"duration": 0.008380039595067501, "outcome": "passed"}, "teardown": {"duration": 0.00032056868076324463, "outcome": "passed"}}, {"nodeid": "tests/test_models.py::TestVulnerability::test_vulnerability_creation", "lineno": 22, "outcome": "passed", "keywords": ["test_vulnerability_creation", "TestVulnerability", "test_models.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.0001049041748046875, "outcome": "passed"}, "call": {"duration": 0.00011393148452043533, "outcome": "passed"}, "teardown": {"duration": 7.615052163600922e-05, "outcome": "passed"}}, {"nodeid": "tests/test_models.py::TestVulnerability::test_risk_score_calculation", "lineno": 46, "outcome": "passed", "keywords": ["test_risk_score_calculation", "TestVulnerability", "test_models.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.60350376367569e-05, "outcome": "passed"}, "call": {"duration": 0.00012380816042423248, "outcome": "passed"}, "teardown": {"duration": 7.248017936944962e-05, "outcome": "passed"}}, {"nodeid": "tests/test_models.py::TestVulnerability::test_compliance_mappings", "lineno": 73, "outcome": "passed", "keywords": ["test_compliance_mappings", "TestVulnerability", "test_models.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.79246911406517e-05, "outcome": "passed"}, "call": {"duration": 0.00010522734373807907, "outcome": "passed"}, "teardown": {"duration": 7.314421236515045e-05, "outcome": "passed"}}, {"nodeid": "tests/test_models.py::TestScanResult::test_scan_result_creation", "lineno": 98, "outcome": "passed", "keywords": ["test_scan_result_creation", "TestScanResult", "test_models.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.232185453176498e-05, "outcome": "passed"}, "call": {"duration": 0.0001056082546710968, "outcome": "passed"}, "teardown": {"duration": 7.122289389371872e-05, "outcome": "passed"}}, {"nodeid": "tests/test_models.py::TestScanResult::test_vulnerabilities_by_severity", "lineno": 116, "outcome": "passed", "keywords": ["test_vulnerabilities_by_severity", "TestScanResult", "test_models.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.115118205547333e-05, "outcome": "passed"}, "call": {"duration": 0.00015245378017425537, "outcome": "passed"}, "teardown": {"duration": 7.11372122168541e-05, "outcome": "passed"}}, {"nodeid": "tests/test_models.py::TestScanResult::test_summary_stats", "lineno": 158, "outcome": "passed", "keywords": ["test_summary_stats", "TestScanResult", "test_models.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.781758904457092e-05, "outcome": "passed"}, "call": {"duration": 0.00014545582234859467, "outcome": "passed"}, "teardown": {"duration": 9.536650031805038e-05, "outcome": "passed"}}, {"nodeid": "tests/test_models.py::TestComplianceReport::test_compliance_report_creation", "lineno": 199, "outcome": "passed", "keywords": ["test_compliance_report_creation", "TestComplianceReport", "test_models.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.744971662759781e-05, "outcome": "passed"}, "call": {"duration": 0.00010791979730129242, "outcome": "passed"}, "teardown": {"duration": 7.233209908008575e-05, "outcome": "passed"}}, {"nodeid": "tests/test_models.py::TestSuppressionRule::test_suppression_rule_creation", "lineno": 242, "outcome": "passed", "keywords": ["test_suppression_rule_creation", "TestSuppressionRule", "test_models.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.401034235954285e-05, "outcome": "passed"}, "call": {"duration": 9.482353925704956e-05, "outcome": "passed"}, "teardown": {"duration": 7.02952966094017e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns.py::TestHardcodedSecretDetector::test_detect_api_key", "lineno": 18, "outcome": "passed", "keywords": ["test_detect_api_key", "TestHardcodedSecretDetector", "test_patterns.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 9.470712393522263e-05, "outcome": "passed"}, "call": {"duration": 0.00023827329277992249, "outcome": "passed"}, "teardown": {"duration": 7.890351116657257e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns.py::TestHardcodedSecretDetector::test_detect_password", "lineno": 33, "outcome": "passed", "keywords": ["test_detect_password", "TestHardcodedSecretDetector", "test_patterns.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.670465856790543e-05, "outcome": "passed"}, "call": {"duration": 0.0002171015366911888, "outcome": "passed"}, "teardown": {"duration": 7.511582225561142e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns.py::TestHardcodedSecretDetector::test_detect_aws_credentials", "lineno": 48, "outcome": "passed", "keywords": ["test_detect_aws_credentials", "TestHardcodedSecretDetector", "test_patterns.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 9.618792682886124e-05, "outcome": "passed"}, "call": {"duration": 0.0002071252092719078, "outcome": "passed"}, "teardown": {"duration": 7.234979420900345e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns.py::TestHardcodedSecretDetector::test_detect_private_key", "lineno": 63, "outcome": "passed", "keywords": ["test_detect_private_key", "TestHardcodedSecretDetector", "test_patterns.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.41938129067421e-05, "outcome": "passed"}, "call": {"duration": 0.00019974540919065475, "outcome": "passed"}, "teardown": {"duration": 7.358938455581665e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns.py::TestHardcodedSecretDetector::test_skip_comments", "lineno": 78, "outcome": "passed", "keywords": ["test_skip_comments", "TestHardcodedSecretDetector", "test_patterns.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.249601185321808e-05, "outcome": "passed"}, "call": {"duration": 0.00019962992519140244, "outcome": "passed"}, "teardown": {"duration": 7.30268657207489e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns.py::TestSQLInjectionDetector::test_detect_string_concatenation", "lineno": 96, "outcome": "passed", "keywords": ["test_detect_string_concatenation", "TestSQLInjectionDetector", "test_patterns.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.187016308307648e-05, "outcome": "passed"}, "call": {"duration": 0.0001872507855296135, "outcome": "passed"}, "teardown": {"duration": 7.013417780399323e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns.py::TestSQLInjectionDetector::test_detect_string_formatting", "lineno": 111, "outcome": "passed", "keywords": ["test_detect_string_formatting", "TestSQLInjectionDetector", "test_patterns.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.092859596014023e-05, "outcome": "passed"}, "call": {"duration": 0.00018798839300870895, "outcome": "passed"}, "teardown": {"duration": 7.010065019130707e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns.py::TestSQLInjectionDetector::test_detect_f_string_injection", "lineno": 125, "outcome": "passed", "keywords": ["test_detect_f_string_injection", "TestSQLInjectionDetector", "test_patterns.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 8.164346218109131e-05, "outcome": "passed"}, "call": {"duration": 0.00018249545246362686, "outcome": "passed"}, "teardown": {"duration": 7.263664156198502e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns.py::TestSQLInjectionDetector::test_detect_format_method", "lineno": 138, "outcome": "passed", "keywords": ["test_detect_format_method", "TestSQLInjectionDetector", "test_patterns.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.192417979240417e-05, "outcome": "passed"}, "call": {"duration": 0.00015626288950443268, "outcome": "passed"}, "teardown": {"duration": 7.12517648935318e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns.py::TestSQLInjectionDetector::test_ast_based_detection", "lineno": 151, "outcome": "passed", "keywords": ["test_ast_based_detection", "TestSQLInjectionDetector", "test_patterns.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.14082270860672e-05, "outcome": "passed"}, "call": {"duration": 0.00030316971242427826, "outcome": "passed"}, "teardown": {"duration": 8.394010365009308e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns.py::TestCryptographicMisuseDetector::test_detect_weak_algorithms", "lineno": 171, "outcome": "passed", "keywords": ["test_detect_weak_algorithms", "TestCryptographicMisuseDetector", "test_patterns.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.821433246135712e-05, "outcome": "passed"}, "call": {"duration": 0.0001750541850924492, "outcome": "passed"}, "teardown": {"duration": 7.480662316083908e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns.py::TestCryptographicMisuseDetector::test_detect_weak_ciphers", "lineno": 187, "outcome": "passed", "keywords": ["test_detect_weak_ciphers", "TestCryptographicMisuseDetector", "test_patterns.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.685180753469467e-05, "outcome": "passed"}, "call": {"duration": 0.0001643029972910881, "outcome": "passed"}, "teardown": {"duration": 7.635727524757385e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns.py::TestCryptographicMisuseDetector::test_detect_hardcoded_iv", "lineno": 201, "outcome": "passed", "keywords": ["test_detect_hardcoded_iv", "TestCryptographicMisuseDetector", "test_patterns.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.835868746042252e-05, "outcome": "passed"}, "call": {"duration": 0.00016362406313419342, "outcome": "passed"}, "teardown": {"duration": 7.391814142465591e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns.py::TestCryptographicMisuseDetector::test_compliance_mappings", "lineno": 218, "outcome": "passed", "keywords": ["test_compliance_mappings", "TestCryptographicMisuseDetector", "test_patterns.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.316749542951584e-05, "outcome": "passed"}, "call": {"duration": 0.00012847967445850372, "outcome": "passed"}, "teardown": {"duration": 8.518435060977936e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns.py::TestInputValidationDetector::test_detect_eval_usage", "lineno": 234, "outcome": "passed", "keywords": ["test_detect_eval_usage", "TestInputValidationDetector", "test_patterns.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.383059710264206e-05, "outcome": "passed"}, "call": {"duration": 0.00025194883346557617, "outcome": "passed"}, "teardown": {"duration": 8.102972060441971e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns.py::TestInputValidationDetector::test_detect_exec_usage", "lineno": 250, "outcome": "passed", "keywords": ["test_detect_exec_usage", "TestInputValidationDetector", "test_patterns.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.827766239643097e-05, "outcome": "passed"}, "call": {"duration": 0.0002338699996471405, "outcome": "passed"}, "teardown": {"duration": 7.669534534215927e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns.py::TestInputValidationDetector::test_detect_pickle_loads", "lineno": 264, "outcome": "passed", "keywords": ["test_detect_pickle_loads", "TestInputValidationDetector", "test_patterns.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.364153861999512e-05, "outcome": "passed"}, "call": {"duration": 0.00024335086345672607, "outcome": "passed"}, "teardown": {"duration": 8.824281394481659e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns.py::TestInputValidationDetector::test_detect_command_injection", "lineno": 280, "outcome": "passed", "keywords": ["test_detect_command_injection", "TestInputValidationDetector", "test_patterns.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.901526987552643e-05, "outcome": "passed"}, "call": {"duration": 0.00044695381075143814, "outcome": "passed"}, "teardown": {"duration": 8.060317486524582e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns.py::TestInputValidationDetector::test_detect_xss_vulnerabilities", "lineno": 295, "outcome": "passed", "keywords": ["test_detect_xss_vulnerabilities", "TestInputValidationDetector", "test_patterns.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.975753396749496e-05, "outcome": "passed"}, "call": {"duration": 0.00030269939452409744, "outcome": "passed"}, "teardown": {"duration": 8.576642721891403e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_jwt_secret_detection", "lineno": 17, "outcome": "passed", "keywords": ["test_jwt_secret_detection", "TestExtendedPatternDetection", "test_patterns_extended.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 9.347312152385712e-05, "outcome": "passed"}, "call": {"duration": 0.00020918436348438263, "outcome": "passed"}, "teardown": {"duration": 7.615610957145691e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_database_url_with_password", "lineno": 29, "outcome": "passed", "keywords": ["test_database_url_with_password", "TestExtendedPatternDetection", "test_patterns_extended.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.404107600450516e-05, "outcome": "passed"}, "call": {"duration": 0.00022561289370059967, "outcome": "passed"}, "teardown": {"duration": 7.752887904644012e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_oauth_secrets", "lineno": 42, "outcome": "passed", "keywords": ["test_oauth_secrets", "TestExtendedPatternDetection", "test_patterns_extended.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.542688399553299e-05, "outcome": "passed"}, "call": {"duration": 0.00021086819469928741, "outcome": "passed"}, "teardown": {"duration": 7.3213130235672e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_encryption_key_variations", "lineno": 54, "outcome": "passed", "keywords": ["test_encryption_key_variations", "TestExtendedPatternDetection", "test_patterns_extended.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.930025458335876e-05, "outcome": "passed"}, "call": {"duration": 0.000188363716006279, "outcome": "passed"}, "teardown": {"duration": 7.398240268230438e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_sql_injection_union_attacks", "lineno": 67, "outcome": "passed", "keywords": ["test_sql_injection_union_attacks", "TestExtendedPatternDetection", "test_patterns_extended.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.145572453737259e-05, "outcome": "passed"}, "call": {"duration": 0.00023491214960813522, "outcome": "passed"}, "teardown": {"duration": 7.727276533842087e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_sql_injection_order_by", "lineno": 79, "outcome": "passed", "keywords": ["test_sql_injection_order_by", "TestExtendedPatternDetection", "test_patterns_extended.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.187947630882263e-05, "outcome": "passed"}, "call": {"duration": 0.00022210367023944855, "outcome": "passed"}, "teardown": {"duration": 7.390417158603668e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_nosql_injection", "lineno": 91, "outcome": "passed", "keywords": ["test_nosql_injection", "TestExtendedPatternDetection", "test_patterns_extended.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.147528231143951e-05, "outcome": "passed"}, "call": {"duration": 0.00018401257693767548, "outcome": "passed"}, "teardown": {"duration": 6.999727338552475e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_ldap_injection", "lineno": 107, "outcome": "passed", "keywords": ["test_ldap_injection", "TestExtendedPatternDetection", "test_patterns_extended.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.048714905977249e-05, "outcome": "passed"}, "call": {"duration": 0.00014549307525157928, "outcome": "passed"}, "teardown": {"duration": 6.953626871109009e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_weak_random_generation", "lineno": 119, "outcome": "passed", "keywords": ["test_weak_random_generation", "TestExtendedPatternDetection", "test_patterns_extended.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.132161408662796e-05, "outcome": "passed"}, "call": {"duration": 0.00011493358761072159, "outcome": "passed"}, "teardown": {"duration": 7.005687803030014e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_insecure_cipher_modes", "lineno": 132, "outcome": "passed", "keywords": ["test_insecure_cipher_modes", "TestExtendedPatternDetection", "test_patterns_extended.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.089320570230484e-05, "outcome": "passed"}, "call": {"duration": 0.00016734376549720764, "outcome": "passed"}, "teardown": {"duration": 7.61076807975769e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_weak_key_derivation", "lineno": 145, "outcome": "passed", "keywords": ["test_weak_key_derivation", "TestExtendedPatternDetection", "test_patterns_extended.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 8.132215589284897e-05, "outcome": "passed"}, "call": {"duration": 0.00017273984849452972, "outcome": "passed"}, "teardown": {"duration": 7.552001625299454e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_yaml_unsafe_load", "lineno": 158, "outcome": "passed", "keywords": ["test_yaml_unsafe_load", "TestExtendedPatternDetection", "test_patterns_extended.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.191486656665802e-05, "outcome": "passed"}, "call": {"duration": 0.0002889726310968399, "outcome": "passed"}, "teardown": {"duration": 8.0842524766922e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_xml_xxe_vulnerabilities", "lineno": 174, "outcome": "passed", "keywords": ["test_xml_xxe_vulnerabilities", "TestExtendedPatternDetection", "test_patterns_extended.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.747858762741089e-05, "outcome": "passed"}, "call": {"duration": 8.705630898475647e-05, "outcome": "passed"}, "teardown": {"duration": 7.038470357656479e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_path_traversal_patterns", "lineno": 187, "outcome": "passed", "keywords": ["test_path_traversal_patterns", "TestExtendedPatternDetection", "test_patterns_extended.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.134489715099335e-05, "outcome": "passed"}, "call": {"duration": 8.245091885328293e-05, "outcome": "passed"}, "teardown": {"duration": 7.247086614370346e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_template_injection", "lineno": 199, "outcome": "passed", "keywords": ["test_template_injection", "TestExtendedPatternDetection", "test_patterns_extended.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.109157741069794e-05, "outcome": "passed"}, "call": {"duration": 8.218269795179367e-05, "outcome": "passed"}, "teardown": {"duration": 6.914231926202774e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_command_injection_variations", "lineno": 211, "outcome": "passed", "keywords": ["test_command_injection_variations", "TestExtendedPatternDetection", "test_patterns_extended.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 6.902031600475311e-05, "outcome": "passed"}, "call": {"duration": 0.0004047248512506485, "outcome": "passed"}, "teardown": {"duration": 8.593127131462097e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_ssrf_patterns", "lineno": 231, "outcome": "passed", "keywords": ["test_ssrf_patterns", "TestExtendedPatternDetection", "test_patterns_extended.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 8.083879947662354e-05, "outcome": "passed"}, "call": {"duration": 8.971802890300751e-05, "outcome": "passed"}, "teardown": {"duration": 7.374770939350128e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_timing_attack_vulnerabilities", "lineno": 244, "outcome": "passed", "keywords": ["test_timing_attack_vulnerabilities", "TestExtendedPatternDetection", "test_patterns_extended.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.769651710987091e-05, "outcome": "passed"}, "call": {"duration": 0.00014805421233177185, "outcome": "passed"}, "teardown": {"duration": 7.502268999814987e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_regex_dos_patterns", "lineno": 257, "outcome": "passed", "keywords": ["test_regex_dos_patterns", "TestExtendedPatternDetection", "test_patterns_extended.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.810443639755249e-05, "outcome": "passed"}, "call": {"duration": 8.66129994392395e-05, "outcome": "passed"}, "teardown": {"duration": 7.602665573358536e-05, "outcome": "passed"}}, {"nodeid": "tests/test_patterns_extended.py::TestExtendedPatternDetection::test_integer_overflow_patterns", "lineno": 270, "outcome": "passed", "keywords": ["test_integer_overflow_patterns", "TestExtendedPatternDetection", "test_patterns_extended.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.474608719348907e-05, "outcome": "passed"}, "call": {"duration": 8.400809019804001e-05, "outcome": "passed"}, "teardown": {"duration": 7.240660488605499e-05, "outcome": "passed"}}, {"nodeid": "tests/test_performance.py::TestPerformance::test_single_file_scan_speed", "lineno": 15, "outcome": "passed", "keywords": ["test_single_file_scan_speed", "TestPerformance", "test_performance.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 8.547678589820862e-05, "outcome": "passed"}, "call": {"duration": 0.02385684009641409, "outcome": "passed"}, "teardown": {"duration": 9.180139750242233e-05, "outcome": "passed"}}, {"nodeid": "tests/test_performance.py::TestPerformance::test_parallel_scanning", "lineno": 36, "outcome": "passed", "keywords": ["test_parallel_scanning", "TestPerformance", "test_performance.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 8.522719144821167e-05, "outcome": "passed"}, "call": {"duration": 0.6246454333886504, "outcome": "passed"}, "teardown": {"duration": 0.00012797582894563675, "outcome": "passed"}}, {"nodeid": "tests/test_performance.py::TestPerformance::test_memory_efficiency", "lineno": 62, "outcome": "passed", "keywords": ["test_memory_efficiency", "TestPerformance", "test_performance.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 9.567849338054657e-05, "outcome": "passed"}, "call": {"duration": 16.293016985058784, "outcome": "passed"}, "teardown": {"duration": 0.000197703018784523, "outcome": "passed"}}, {"nodeid": "tests/test_performance.py::TestPerformance::test_incremental_scan_simulation", "lineno": 82, "outcome": "passed", "keywords": ["test_incremental_scan_simulation", "TestPerformance", "test_performance.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.0001122690737247467, "outcome": "passed"}, "call": {"duration": 0.005572653375566006, "outcome": "passed"}, "teardown": {"duration": 9.813066571950912e-05, "outcome": "passed"}}, {"nodeid": "tests/test_performance.py::TestPerformance::test_pattern_matching_performance", "lineno": 112, "outcome": "passed", "keywords": ["test_pattern_matching_performance", "TestPerformance", "test_performance.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 9.96999442577362e-05, "outcome": "passed"}, "call": {"duration": 0.007720676250755787, "outcome": "passed"}, "teardown": {"duration": 9.110476821660995e-05, "outcome": "passed"}}, {"nodeid": "tests/test_performance.py::TestPerformance::test_ast_parsing_performance", "lineno": 131, "outcome": "passed", "keywords": ["test_ast_parsing_performance", "TestPerformance", "test_performance.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 8.14627856016159e-05, "outcome": "passed"}, "call": {"duration": 0.10502881463617086, "outcome": "passed"}, "teardown": {"duration": 0.0001301206648349762, "outcome": "passed"}}, {"nodeid": "tests/test_performance.py::TestPerformance::test_concurrent_file_access", "lineno": 160, "outcome": "passed", "keywords": ["test_concurrent_file_access", "TestPerformance", "test_performance.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 9.139161556959152e-05, "outcome": "passed"}, "call": {"duration": 0.0038362275809049606, "outcome": "passed"}, "teardown": {"duration": 9.805243462324142e-05, "outcome": "passed"}}, {"nodeid": "tests/test_performance.py::TestPerformance::test_large_codebase_simulation", "lineno": 186, "outcome": "passed", "keywords": ["test_large_codebase_simulation", "TestPerformance", "test_performance.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 8.381158113479614e-05, "outcome": "passed"}, "call": {"duration": 0.0843465905636549, "outcome": "passed"}, "teardown": {"duration": 0.00011642929166555405, "outcome": "passed"}}, {"nodeid": "tests/test_performance.py::TestPerformance::test_file_size_limit_performance", "lineno": 213, "outcome": "passed", "keywords": ["test_file_size_limit_performance", "TestPerformance", "test_performance.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 9.204540401697159e-05, "outcome": "passed"}, "call": {"duration": 0.016430757008492947, "outcome": "passed"}, "teardown": {"duration": 0.00011690054088830948, "outcome": "passed"}}, {"nodeid": "tests/test_performance.py::TestPerformance::test_cache_effectiveness", "lineno": 236, "outcome": "passed", "keywords": ["test_cache_effectiveness", "TestPerformance", "test_performance.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 9.108521044254303e-05, "outcome": "passed"}, "call": {"duration": 0.02542352769523859, "outcome": "passed"}, "teardown": {"duration": 0.00011942535638809204, "outcome": "passed"}}, {"nodeid": "tests/test_reports.py::TestReportGenerator::test_export_json", "lineno": 120, "outcome": "passed", "keywords": ["test_export_json", "TestReportGenerator", "test_reports.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.00028890930116176605, "outcome": "passed"}, "call": {"duration": 0.0011597629636526108, "outcome": "passed"}, "teardown": {"duration": 0.00013860780745744705, "outcome": "passed"}}, {"nodeid": "tests/test_reports.py::TestReportGenerator::test_export_xml", "lineno": 156, "outcome": "passed", "keywords": ["test_export_xml", "TestReportGenerator", "test_reports.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.00018557440489530563, "outcome": "passed"}, "call": {"duration": 0.0008787689730525017, "outcome": "passed"}, "teardown": {"duration": 9.959004819393158e-05, "outcome": "passed"}}, {"nodeid": "tests/test_reports.py::TestReportGenerator::test_export_invalid_format", "lineno": 208, "outcome": "passed", "keywords": ["test_export_invalid_format", "TestReportGenerator", "test_reports.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.00017304066568613052, "outcome": "passed"}, "call": {"duration": 0.0002599954605102539, "outcome": "passed"}, "teardown": {"duration": 8.789170533418655e-05, "outcome": "passed"}}, {"nodeid": "tests/test_reports.py::TestReportGenerator::test_export_compliance_report_json", "lineno": 215, "outcome": "passed", "keywords": ["test_export_compliance_report_json", "TestReportGenerator", "test_reports.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.00014717504382133484, "outcome": "passed"}, "call": {"duration": 0.0007189270108938217, "outcome": "passed"}, "teardown": {"duration": 9.667035192251205e-05, "outcome": "passed"}}, {"nodeid": "tests/test_reports.py::TestReportGenerator::test_export_compliance_report_xml", "lineno": 239, "outcome": "passed", "keywords": ["test_export_compliance_report_xml", "TestReportGenerator", "test_reports.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.00014852732419967651, "outcome": "passed"}, "call": {"duration": 0.0006476417183876038, "outcome": "passed"}, "teardown": {"duration": 9.788293391466141e-05, "outcome": "passed"}}, {"nodeid": "tests/test_reports.py::TestReportGenerator::test_summary_stats_in_xml", "lineno": 280, "outcome": "passed", "keywords": ["test_summary_stats_in_xml", "TestReportGenerator", "test_reports.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.0001546153798699379, "outcome": "passed"}, "call": {"duration": 0.0007384102791547775, "outcome": "passed"}, "teardown": {"duration": 9.821262210607529e-05, "outcome": "passed"}}, {"nodeid": "tests/test_reports.py::TestReportGenerator::test_scan_errors_in_export", "lineno": 310, "outcome": "passed", "keywords": ["test_scan_errors_in_export", "TestReportGenerator", "test_reports.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.0001567872241139412, "outcome": "passed"}, "call": {"duration": 0.0011956924572587013, "outcome": "passed"}, "teardown": {"duration": 0.00010727252811193466, "outcome": "passed"}}, {"nodeid": "tests/test_reports.py::TestReportGenerator::test_code_snippet_in_export", "lineno": 350, "outcome": "passed", "keywords": ["test_code_snippet_in_export", "TestReportGenerator", "test_reports.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.00015808548778295517, "outcome": "passed"}, "call": {"duration": 0.0007002614438533783, "outcome": "passed"}, "teardown": {"duration": 9.793322533369064e-05, "outcome": "passed"}}, {"nodeid": "tests/test_scanner.py::TestSecurityScanner::test_scan_vulnerable_project", "lineno": 108, "outcome": "passed", "keywords": ["test_scan_vulnerable_project", "TestSecurityScanner", "test_scanner.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.00044566020369529724, "outcome": "passed"}, "call": {"duration": 0.005153495818376541, "outcome": "passed"}, "teardown": {"duration": 0.00021817907691001892, "outcome": "passed"}}, {"nodeid": "tests/test_scanner.py::TestSecurityScanner::test_scan_single_file", "lineno": 133, "outcome": "passed", "keywords": ["test_scan_single_file", "TestSecurityScanner", "test_scanner.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.0004128105938434601, "outcome": "passed"}, "call": {"duration": 0.001474461518228054, "outcome": "passed"}, "teardown": {"duration": 0.00020481552928686142, "outcome": "passed"}}, {"nodeid": "tests/test_scanner.py::TestSecurityScanner::test_scan_nonexistent_path", "lineno": 149, "outcome": "passed", "keywords": ["test_scan_nonexistent_path", "TestSecurityScanner", "test_scanner.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 8.847285062074661e-05, "outcome": "passed"}, "call": {"duration": 0.00027125049382448196, "outcome": "passed"}, "teardown": {"duration": 7.909256964921951e-05, "outcome": "passed"}}, {"nodeid": "tests/test_scanner.py::TestSecurityScanner::test_custom_config", "lineno": 155, "outcome": "passed", "keywords": ["test_custom_config", "TestSecurityScanner", "test_scanner.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.00038404669612646103, "outcome": "passed"}, "call": {"duration": 0.004055384546518326, "outcome": "passed"}, "teardown": {"duration": 0.00021193735301494598, "outcome": "passed"}}, {"nodeid": "tests/test_scanner.py::TestSecurityScanner::test_summary_stats", "lineno": 174, "outcome": "passed", "keywords": ["test_summary_stats", "TestSecurityScanner", "test_scanner.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.0004166681319475174, "outcome": "passed"}, "call": {"duration": 0.005066043697297573, "outcome": "passed"}, "teardown": {"duration": 0.00020601786673069, "outcome": "passed"}}, {"nodeid": "tests/test_scanner.py::TestSecurityScanner::test_vulnerabilities_by_severity", "lineno": 189, "outcome": "passed", "keywords": ["test_vulnerabilities_by_severity", "TestSecurityScanner", "test_scanner.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.0003983099013566971, "outcome": "passed"}, "call": {"duration": 0.004989922046661377, "outcome": "passed"}, "teardown": {"duration": 0.00020746327936649323, "outcome": "passed"}}, {"nodeid": "tests/test_scanner.py::TestSecurityScanner::test_compliance_mappings", "lineno": 203, "outcome": "passed", "keywords": ["test_compliance_mappings", "TestSecurityScanner", "test_scanner.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.00040397047996520996, "outcome": "passed"}, "call": {"duration": 0.005035719834268093, "outcome": "passed"}, "teardown": {"duration": 0.0002116011455655098, "outcome": "passed"}}, {"nodeid": "tests/test_scanner.py::TestSecurityScanner::test_code_snippets_included", "lineno": 213, "outcome": "passed", "keywords": ["test_code_snippets_included", "TestSecurityScanner", "test_scanner.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.0004084920510649681, "outcome": "passed"}, "call": {"duration": 0.0048251766711473465, "outcome": "passed"}, "teardown": {"duration": 0.00020302459597587585, "outcome": "passed"}}, {"nodeid": "tests/test_scanner.py::TestSecurityScanner::test_scan_performance", "lineno": 228, "outcome": "passed", "keywords": ["test_scan_performance", "TestSecurityScanner", "test_scanner.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.0004130154848098755, "outcome": "passed"}, "call": {"duration": 0.3125088317319751, "outcome": "passed"}, "teardown": {"duration": 0.0005125151947140694, "outcome": "passed"}}, {"nodeid": "tests/test_scanner.py::TestSecurityScanner::test_file_size_limit", "lineno": 248, "outcome": "passed", "keywords": ["test_file_size_limit", "TestSecurityScanner", "test_scanner.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.00024092849344015121, "outcome": "passed"}, "call": {"duration": 0.007202981971204281, "outcome": "passed"}, "teardown": {"duration": 0.0010236846283078194, "outcome": "passed"}}, {"nodeid": "tests/test_scanner.py::TestSecurityScanner::test_scan_errors_captured", "lineno": 261, "outcome": "passed", "keywords": ["test_scan_errors_captured", "TestSecurityScanner", "test_scanner.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.0002137310802936554, "outcome": "passed"}, "call": {"duration": 0.0009015481919050217, "outcome": "passed"}, "teardown": {"duration": 0.00017224717885255814, "outcome": "passed"}}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_load_rules_from_file", "lineno": 70, "outcome": "passed", "keywords": ["test_load_rules_from_file", "TestSuppressionManager", "test_suppression.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.0003324458375573158, "outcome": "passed"}, "call": {"duration": 0.00019341986626386642, "outcome": "passed"}, "teardown": {"duration": 0.00012750551104545593, "outcome": "passed"}}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_add_rule", "lineno": 79, "outcome": "passed", "keywords": ["test_add_rule", "TestSuppressionManager", "test_suppression.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 8.087791502475739e-05, "outcome": "passed"}, "call": {"duration": 0.00010557752102613449, "outcome": "passed"}, "teardown": {"duration": 7.117725908756256e-05, "outcome": "passed"}}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_should_suppress_by_id_pattern", "lineno": 98, "outcome": "passed", "keywords": ["test_should_suppress_by_id_pattern", "TestSuppressionManager", "test_suppression.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.00013100728392601013, "outcome": "passed"}, "call": {"duration": 0.00019605085253715515, "outcome": "passed"}, "teardown": {"duration": 8.565466850996017e-05, "outcome": "passed"}}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_should_suppress_by_file_pattern", "lineno": 114, "outcome": "passed", "keywords": ["test_should_suppress_by_file_pattern", "TestSuppressionManager", "test_suppression.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.00012434087693691254, "outcome": "passed"}, "call": {"duration": 0.00016000401228666306, "outcome": "passed"}, "teardown": {"duration": 8.162017911672592e-05, "outcome": "passed"}}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_should_suppress_by_type", "lineno": 129, "outcome": "passed", "keywords": ["test_should_suppress_by_type", "TestSuppressionManager", "test_suppression.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.00011992640793323517, "outcome": "passed"}, "call": {"duration": 0.0001591164618730545, "outcome": "passed"}, "teardown": {"duration": 8.415058255195618e-05, "outcome": "passed"}}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_should_suppress_by_location", "lineno": 144, "outcome": "passed", "keywords": ["test_should_suppress_by_location", "TestSuppressionManager", "test_suppression.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.0001256801187992096, "outcome": "passed"}, "call": {"duration": 0.00017517991364002228, "outcome": "passed"}, "teardown": {"duration": 8.423998951911926e-05, "outcome": "passed"}}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_expired_rule_not_applied", "lineno": 159, "outcome": "passed", "keywords": ["test_expired_rule_not_applied", "TestSuppressionManager", "test_suppression.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.00011803116649389267, "outcome": "passed"}, "call": {"duration": 0.00014290492981672287, "outcome": "passed"}, "teardown": {"duration": 8.043181151151657e-05, "outcome": "passed"}}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_inactive_rule_not_applied", "lineno": 177, "outcome": "passed", "keywords": ["test_inactive_rule_not_applied", "TestSuppressionManager", "test_suppression.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.00012446101754903793, "outcome": "passed"}, "call": {"duration": 9.453203529119492e-05, "outcome": "passed"}, "teardown": {"duration": 7.780920714139938e-05, "outcome": "passed"}}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_get_suppression_reason", "lineno": 193, "outcome": "passed", "keywords": ["test_get_suppression_reason", "TestSuppressionManager", "test_suppression.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.0001156441867351532, "outcome": "passed"}, "call": {"duration": 0.00010039657354354858, "outcome": "passed"}, "teardown": {"duration": 7.717590779066086e-05, "outcome": "passed"}}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_create_rule_from_vulnerability", "lineno": 210, "outcome": "passed", "keywords": ["test_create_rule_from_vulnerability", "TestSuppressionManager", "test_suppression.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 0.0001186830922961235, "outcome": "passed"}, "call": {"duration": 0.00011664256453514099, "outcome": "passed"}, "teardown": {"duration": 8.012261241674423e-05, "outcome": "passed"}}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_get_active_rules", "lineno": 228, "outcome": "passed", "keywords": ["test_get_active_rules", "TestSuppressionManager", "test_suppression.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.28340819478035e-05, "outcome": "passed"}, "call": {"duration": 0.00010340474545955658, "outcome": "passed"}, "teardown": {"duration": 7.033627480268478e-05, "outcome": "passed"}}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_audit_trail", "lineno": 258, "outcome": "passed", "keywords": ["test_audit_trail", "TestSuppressionManager", "test_suppression.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.40978866815567e-05, "outcome": "passed"}, "call": {"duration": 0.0001644352450966835, "outcome": "passed"}, "teardown": {"duration": 7.00121745467186e-05, "outcome": "passed"}}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_audit_trail_date_filtering", "lineno": 290, "outcome": "passed", "keywords": ["test_audit_trail_date_filtering", "TestSuppressionManager", "test_suppression.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.25872814655304e-05, "outcome": "passed"}, "call": {"duration": 0.0001028161495923996, "outcome": "passed"}, "teardown": {"duration": 7.630791515111923e-05, "outcome": "passed"}}, {"nodeid": "tests/test_suppression.py::TestSuppressionManager::test_save_rules", "lineno": 317, "outcome": "passed", "keywords": ["test_save_rules", "TestSuppressionManager", "test_suppression.py", "tests", "code_pattern_detector_security_auditor", ""], "setup": {"duration": 7.113534957170486e-05, "outcome": "passed"}, "call": {"duration": 0.0009120097383856773, "outcome": "passed"}, "teardown": {"duration": 8.925329893827438e-05, "outcome": "passed"}}], "warnings": [{"message": "`json_encoders` is deprecated. See https://docs.pydantic.dev/2.11/concepts/serialization/#custom-serializers for alternatives. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/", "category": "PydanticDeprecatedSince20", "when": "collect", "filename": "/home/justinchiu_cohere_com/librarybench/projects/code_pattern_detector/code_pattern_detector_security_auditor/.venv/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py", "lineno": 298}, {"message": "`json_encoders` is deprecated. See https://docs.pydantic.dev/2.11/concepts/serialization/#custom-serializers for alternatives. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/", "category": "PydanticDeprecatedSince20", "when": "collect", "filename": "/home/justinchiu_cohere_com/librarybench/projects/code_pattern_detector/code_pattern_detector_security_auditor/.venv/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py", "lineno": 298}, {"message": "`json_encoders` is deprecated. See https://docs.pydantic.dev/2.11/concepts/serialization/#custom-serializers for alternatives. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/", "category": "PydanticDeprecatedSince20", "when": "collect", "filename": "/home/justinchiu_cohere_com/librarybench/projects/code_pattern_detector/code_pattern_detector_security_auditor/.venv/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py", "lineno": 298}, {"message": "`json_encoders` is deprecated. See https://docs.pydantic.dev/2.11/concepts/serialization/#custom-serializers for alternatives. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.11/migration/", "category": "PydanticDeprecatedSince20", "when": "collect", "filename": "/home/justinchiu_cohere_com/librarybench/projects/code_pattern_detector/code_pattern_detector_security_auditor/.venv/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py", "lineno": 298}]}