Supercov scores code quality with Jev and gives coding agents the deepest JavaScript coverage for code verification, including MC/DC and assertion coverage.
Working
npx supercov qualityQuality good (8.4/10) over 1 files.
1 good, 0 fair, 0 weak.
Weakest:
good src/session.js
primitive_obsession 0.60The score is fine and the only property present is primitive obsession on the checkout arguments. I’ll leave the shape alone and look at what the tests actually check.
npx supercov -- npm test
npx supercov runs latestCoverage Lines 100.00% (5/5) Branches 100.00% (2/2) MC/DC 50.00% (1/2) Assertions not assessed — No recorded flow explanations 0 assertions with flows; 2 without; 0 current flows; 0 stale; 0 draft
npx supercov runs latest assertions --jsonThe tests pass. I’ll trace each assertion back to the code it checks and save those links in the assertion map.
.supercov/runs/run_4283cdd65b619f9c/assertions.jsonMapped the status checks. Neither checks the calculated total.npx supercov runs latest assertions validate --json
npx supercov runs latest assertions check --require-mappings
npx supercov runs latestCoverage Lines 100.00% (5/5) Branches 100.00% (2/2) MC/DC 50.00% (1/2) Assertions 75.00% (3/4) — agent-assessed statements, whole run 2 assertions with flows; 0 without; 2 current flows; 0 stale; 0 draft
npx supercov runs latest decision src/session.js:2signedIn && !expired C1 covered: signedIn C2 MISSING: !expired
The total is never checked, and no test rejects an expired session. I’ll add both checks.
tests/session.test.jsAdded the total assertion and expired-session test.npx supercov -- npm test3 tests passed.supercov/runs/run_f155e4206a81a780/assertions.jsonReviewed the changed tests and mapped their new assertions.npx supercov runs latest assertions validate --json
npx supercov runs latest assertions check --require-mappings
npx supercov runs latestCoverage Lines 100.00% (5/5) Branches 100.00% (2/2) MC/DC 100.00% (2/2) Assertions 100.00% (4/4) — agent-assessed statements, whole run 4 assertions with flows; 0 without; 4 current flows; 0 stale; 0 draft
npx supercov diff run_4283cdd65b619f9c latestlines +0pp, branches +0pp, MC/DC +50pp + MC/DC src/session.js:2 C2 !expired
All 3 tests pass. They now check the total and reject expired sessions. MC/DC is 100%; assertion coverage reflects the statements mapped above.
Supercov gives the agent the next thing to fix.
Each run returns the quality score and the uncovered paths. The agent refactors or adds focused tests, reruns the suite, and continues while useful work remains.




