colbymchenry/codegraph
Pre-indexed code knowledge graph, auto syncs on code changes, for Claude Code, Codex, Gemini, Cursor, OpenCode, AntiGravity, Kiro, CoPilot, and Hermes Agent — fewer tokens, fewer tool calls, 100% local
73cd6e4 ↗TypeScript★ 79,501 (+81 today)lists: typescriptvitest-dedup 0.11.0
- Tests analyzed
- 11,469
- in 1,033 files
- Compared
- 74.6%
- 2,909 tests could not be compared
- Findings
- 513
- 513 warnings
- Exact duplicates
- 0
- error severity
Top candidates
The largest findings, linked to the analyzed commit. Review them before changing any test: identical bodies can still run under different setups the analyzer does not model.
- Near-duplicate testwarning
2 tests execute the same behavior events in the same order under an equivalent context, but their normalized bodies differ; a supported normalization may explain the similarity, but equivalence is not proven, so the likely remedy is to cons.
isTestFile > flags Google's unittest-named files as tests
__tests__/is-test-file.test.ts:59–73 ↗isTestFile > flags everything in a unittests/ or foo_unittest/ directory
__tests__/is-test-file.test.ts:83–98 ↗
- Near-duplicate testwarning
2 tests execute the same behavior events in the same order under an equivalent context, but their normalized bodies differ; a supported normalization may explain the similarity, but equivalence is not proven, so the likely remedy is to cons.
Pascal class and record helpers > a helper the unit neither declares nor uses adds nothing
__tests__/pascal-helpers.test.ts:499–503 ↗Pascal class and record helpers > a helper for a type outside the project reaches nothing of the project's by name
__tests__/pascal-helpers.test.ts:511–515 ↗
- Near-duplicate testwarning
2 tests execute the same behavior events in the same order under an equivalent context, but their normalized bodies differ; a supported normalization may explain the similarity, but equivalence is not proven, so the likely remedy is to cons.
a bare Pascal call links only to a routine its scope declares > links no routine a unit the calling unit does not use declares
__tests__/pascal-out-of-scope-calls.test.ts:557–560 ↗a bare Pascal call links only to a routine its scope declares > in a with body > links nothing out of scope through a subject whose type the project does not declare whole
__tests__/pascal-out-of-scope-calls.test.ts:622–625 ↗
- Near-duplicate testwarning
2 tests execute the same behavior events in the same order under an equivalent context, but their normalized bodies differ; a supported normalization may explain the similarity, but equivalence is not proven, so the likely remedy is to cons.
React Native bridge resolver > qualified vs bare callsite names > handles bare method name (post receiver-strip)
__tests__/react-native-bridge.test.ts:236–246 ↗React Native bridge resolver > qualified vs bare callsite names > strips dot prefix on receiver-qualified callsite (NativeModules.Mod.compute → compute)
__tests__/react-native-bridge.test.ts:248–261 ↗
- Near-duplicate testwarning
2 tests execute the same behavior events in the same order under an equivalent context, but their normalized bodies differ; a supported normalization may explain the similarity, but equivalence is not proven, so the likely remedy is to cons.
a Rust call on a field chain > of a std type is no project method
__tests__/rust-written-receivers.test.ts:428–431 ↗a Rust path through a type from outside the project > written out or through a crate's alias is no project type's function
__tests__/rust-written-receivers.test.ts:459–462 ↗
Findings by rule
- Parameterization candidate507
- Near-duplicate test6
Not compared
- imported helper unreadable2,685
- context could not be resolved139
- order-dependent-state34
- registered-elsewhere51
No finding is reported for these tests, which does not mean they have no duplicates.
Appearances
| Day | Rank | Commit | Version | Tests | Compared | Findings | Duplicates |
|---|---|---|---|---|---|---|---|
| 2026-12-03 | 5 | 73cd6e4 | 0.11.0 | 11,469 | 74.6% | 513 | 0 |
| 2026-12-02 | 6 | 0218767 | 0.11.0 | 11,428 | 74.9% | 513 | 0 |
| 2026-11-29 | 4 | a3d7c16 | 0.11.0 | 10,562 | 75.3% | 484 | 0 |
| 2026-11-28 | 4 | aedff9a | 0.11.0 | 10,524 | 75.2% | 484 | 0 |
| 2026-11-27 | 4 | 73c6cff | 0.11.0 | 10,410 | 75.3% | 484 | 0 |
| 2026-11-26 | 7 | 73c6cff | 0.11.0 | 10,410 | 75.3% | 484 | 0 |
| 2026-11-25 | 4 | 73c6cff | 0.11.0 | 10,410 | 75.3% | 484 | 0 |
| 2026-11-24 | 4 | 73c6cff | 0.11.0 | 10,410 | 75.3% | 484 | 0 |
| 2026-11-22 | 5 | 461a5d8 | 0.10.0 | 10,230 | 72.7% | 467 | 0 |
| 2026-11-21 | 4 | 461a5d8 | 0.10.0 | 10,230 | 72.7% | 467 | 0 |
| 2026-11-20 | 6 | 69bbb38 | 0.10.0 | 10,205 | 72.6% | 467 | 0 |
| 2026-11-19 | 8 | e879216 | 0.10.0 | 10,141 | 72.7% | 466 | 0 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/colbymchenry/codegraph.git
cd codegraph
git checkout 73cd6e48847850ede14554b9b84e04e9f2d4dc2f
npx [email protected] .