agentsqripts
Version:
Comprehensive static code analysis toolkit for identifying technical debt, security vulnerabilities, performance issues, and code quality problems
23 lines (20 loc) • 976 B
JavaScript
/**
* @file Bug pattern definitions and configuration for static analysis
* @description Single responsibility: Centralize bug pattern data and analysis configuration
*
* This module serves as the central repository for bug pattern definitions, severity
* classifications, and analysis configuration used throughout the static bug detection
* system. It provides a single source of truth for pattern matching rules, fix effort
* estimates, and impact assessments that drive the comprehensive bug analysis.
*
* Design rationale:
* - Centralized configuration enables consistent bug classification across analyzers
* - Imported patterns maintain separation between data and analysis logic
* - Single export point simplifies pattern updates and maintenance
* - Configuration-driven approach supports customization without code changes
*/
const { BUG_CONFIG, BUG_PATTERNS } = require('../../config/localVars');
module.exports = {
BUG_PATTERNS,
BUG_CONFIG
};