Module Overview
Priority: Medium
Estimated Functions: ~10
Focus: Measure code quality metrics (NOT refactor code)
Features
calculate_cyclomatic_complexity(), calculate_cognitive_complexity(), calculate_maintainability_index(), measure_code_churn()
detect_god_classes(), detect_code_duplication(), analyze_function_length()
measure_coupling_cohesion(), calculate_technical_debt(), measure_comment_density()
Rationale
Metrics are deterministic. Agents need quality measurement. Prevents technical debt.
Related
- Part of Phase 6: Modern Development
Module Overview
Priority: Medium
Estimated Functions: ~10
Focus: Measure code quality metrics (NOT refactor code)
Features
calculate_cyclomatic_complexity(),calculate_cognitive_complexity(),calculate_maintainability_index(),measure_code_churn()detect_god_classes(),detect_code_duplication(),analyze_function_length()measure_coupling_cohesion(),calculate_technical_debt(),measure_comment_density()Rationale
Metrics are deterministic. Agents need quality measurement. Prevents technical debt.
Related