← knowledge.oriz.in

Code quality + code stats services

index servicescode-qualitycode-statsindex

Code quality + code stats services

A 9-tool layered stack on every public family repo — each tool catches or surfaces a different signal, and all are free for OSS / public repos. The earlier 4-tool and 5-tool stacks stay; GitHub Insights + Tokei + Lines of Code badge added 2026-06-20 alongside the 5 quality tools and biome. Locked at decisions/architecture/code-stats-everything.md, extending code-quality-five-tools.md.

# Tool What it owns Where it runs
1 Sonarcloud SAST, code smells, duplication, complexity, coverage CI on merge to main
2 CodeRabbit LLM-grade PR review (intent + design) Comments on every PR
3 Codecov Per-PR coverage delta vs main PR comment + status check
4 Code Climate A — F maintainability grade per file Dashboard + status check
5 DeepSource Static analysis with autofix PRs Issue list + auto-PR
6 biome (in-repo, not a SaaS) Lint + format — style violations, simple bugs, unused imports Local + CI (pnpm biome check); see rules/match-surrounding-style
7 Dependabot Vulnerable dependencies; out-of-date packages GitHub-native, opens PRs automatically
8 GitHub Insights Native contributors / commits / code-frequency / dependents Repo /pulse + /graphs/*
9 Tokei Per-language line / file / blank / comment counts CI artefact + family /stats
+ Lines of Code badge Single LoC number rendered as README badge Auto-committed SVG in every repo

(That is intentionally 9 tools + a badge renderer that consumes Tokei output. The user direction was "ADD EVERYTHING — GitHub Insights + Tokei + CodeClimate + LinesOfCode badges.")

The order is intentional: Dependabot opens dependency PRs → CodeRabbit reviews them → biome runs on the merge → Sonarcloud + Code Climate + DeepSource do deeper analysis after merge → Codecov tracks coverage delta on every PR → GitHub Insights + Tokei + LoC badge surface code-stats metrics for the family /stats page.

Why all nine

Each layer catches a different failure mode and renders on a different surface:

All free for public repos under the family's everything-is-public-OSS posture. Auto-tracked end-to-end per auto-only-tracking.

Cross-refs