Alexander Whitestone
9668034ad6
feat: Add refactoring opportunity finder (#169)
Cross-references complexity, churn, and coverage to identify refactoring targets.
Acceptance criteria met:
- Cross-references: complexity x churn x coverage
- Identifies: refactor targets with priority scoring
- Output: prioritized refactor list (JSON or human-readable)
- Designed for monthly execution via cron
Scoring formula:
- Complexity (40%): Higher cyclomatic complexity = higher priority
- Churn (30%): Frequently changed files = high value to refactor
- Size (20%): Larger files = more to refactor
- Coverage (10%): Low coverage = higher risk but more need
Usage:
python3 scripts/refactoring_opportunity_finder.py --repo /path/to/repo
python3 scripts/refactoring_opportunity_finder.py --repo /path/to/repo --json
Closes #169
2026-04-15 10:54:58 -04:00
..
2026-04-14 11:17:01 -04:00
2026-04-15 04:00:12 +00:00
2026-04-15 10:54:58 -04:00
2026-04-14 19:02:41 +00:00
2026-04-14 17:22:17 +00:00
2026-04-15 04:00:46 +00:00
2026-04-15 10:54:58 -04:00