DevMeth
R9

AI code debt

Comment Rot Check — Is Commented-Out Code and TODO Debt Piling Up?

DevMeth checks the 48 known AI-code failure patterns — not a penetration test or a security guarantee.

What the issue is

Commented-out code blocks and a market of unresolved TODOs make the codebase harder to trust: readers cannot tell what the app does from what the comments claim it did, and abandoned threads look identical to planned features.

Why AI tools generate it

Agents disable code with a comment instead of deleting it because a revert is cheaper than a decision, and they mark unfinished threads TODO because the release is the priority. Both habits compound file by file.

How DevMeth detects it

The scan finds runs of 8+ consecutive comment-only lines where most still look like code (JSDoc excluded), counts TODO/FIXME/HACK/XXX markers, and reports marker density over 10 per 1000 lines with at least 15 total.

R9
What a finding looks like
Medium

Blocks of commented-out code and a rising tide of TODO markers clutter the codebase

WHAT WE FOUND

lib/legacy.ts — 10 consecutive commented-out code lines

Sample — illustrative and masked exactly as a real report shows it. Run a free scan to see your own results.

The fix, in three steps

Delete or restore each commented-out block, and turn every marker into a resolution or a tracked issue with a link. Version control is the real history; comments are the residue.

Run a free scan and each finding carries a paste-ready fix prompt you can act on.

Maintainability findings ship in the Rescue Report — bundled with the Launch Pack or available on its own.

Try a free scan

FAQ

DevMeth checks the 48 known AI-code failure patterns — not a penetration test or a security guarantee. A clear result means each known pattern was checked and found clear or not applicable for your app; it is not a guarantee of security.