Checklist: How to Clean Up AI Slop in Your Codebase
blelbach · x · 2026-09-01
A checklist of metrics to evaluate and clean up code quality, addressing potential mess from AI-generated code. Suggested standards include: Cyclomatic Complexity < 22, Cognitive Complexity < 22, Halstead Difficulty < 80, Lines of Code per file < 500, Test Coverage 100%, CRAP < 25, zero surviving mutants, zero dead/redundant code, and zero 'any' or 'unknown' types.
More from coding & agent
- MCP Agent Mail enables interoperability between different AI agents — doodlestein · 2026-09-01
- Claude Code 2.1.252 fixes Remote Control stalls and oversized task output — ClaudeCodeLog · 2026-09-01
- Browser agent screens used laptops in 40 minutes — Sad_Throat6619 · 2026-09-01
- AI Accelerates Execution, But Coordination Lags Behind — JosephJacks_ · 2026-09-01
- Preventing AI Coding Snowballs: The Cost of Unvalidated Changes — UkrMalt · 2026-09-01
- Grok's Browser Control Approach Raises Concerns: Higher Risk and Inconvenience — burkov · 2026-09-01