Ashutosh More

Codereportcard - Your codebase's report card scored 0–100, graded A+ to F

by
codereportcard is a zero-config CLI that audits your JS/TS projects across 5 dimensions: complexity, duplication, dead code, secret leakage, and AI slop. Get a 0–100 score with an A+ to F grade then drop it into CI to fail builds when quality drops. Works as a pre-commit hook, GitHub Action, or one-off scan. Free, open source, no signup required.

Add a comment

Replies

Best
Ashutosh More
Maker
📌
I built codereportcard because "clean code" always felt subjective. PR reviews would argue over complexity but there was no single number to point at. The idea was simple: what if your codebase got a report card like school grades so you could track health over time and enforce a minimum score in CI? I started with just complexity scoring, but quickly added duplication detection, dead code analysis, secret leakage scanning, and "AI slop" detection (bloated useEffects, console.log spam, 80+ line functions the stuff AI-generated code tends to leave behind). The design goal was zero friction: npx codereportcard . that's it. No config, no account, no setup. But powerful enough to block a PR with --fail-under 80. Would love to hear what code health metrics matter most to your team happy to prioritize them in the roadmap!