CNCKitchen/ScanRuler
5c1f2f9 ↗TypeScript★ 834 (+115 today)lists: typescriptvitest-dedup 0.9.0
- Tests analyzed
- 3,129
- in 386 files
- Compared
- 99.3%
- 21 tests could not be compared
- Findings
- 8
- 8 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.
- Parameterization candidatewarning
2 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row.
a join > standing apart from every body is a body of its own
plugins/reverse/tests/reAutoBodies.test.ts:59–67 ↗a new body > stays a body of its own, whatever it overlaps
plugins/reverse/tests/reAutoBodies.test.ts:204–212 ↗
- Parameterization candidatewarning
2 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row.
openFromAddress > ?open= resolves a relative address against the page
tests/addressOpen.test.ts:26–28 ↗openFromAddress > ?open= wins over a short path
tests/addressOpen.test.ts:71–73 ↗
- Parameterization candidatewarning
2 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row.
a fit told which side > takes the cup’s inside from a seed on its rim
tests/fitGuide.test.ts:32–35 ↗a fit told which side > and its outside when asked for that
tests/fitGuide.test.ts:37–40 ↗
- Parameterization candidatewarning
2 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row.
distance calibration > accepts a diagonal reference in isotropic mode
tests/flatCalibration.test.ts:17–21 ↗distance calibration > adopts the measured factor for the other axis when none is held yet
tests/flatCalibration.test.ts:39–43 ↗
- Parameterization candidatewarning
2 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row.
PNG pHYs > reads pixels per metre
tests/flatImage.test.ts:41–47 ↗PNG pHYs > keeps X and Y apart
tests/flatImage.test.ts:49–54 ↗
Findings by rule
- Parameterization candidate8
Not compared
- context could not be resolved21
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-11-04 | 6 | 5c1f2f9 | 0.9.0 | 3,129 | 99.3% | 8 | 0 |
| 2026-11-03 | 7 | 5c1f2f9 | 0.9.0 | 3,129 | 99.3% | 8 | 0 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/CNCKitchen/ScanRuler.git
cd ScanRuler
git checkout 5c1f2f96b7ac336d5c2bad64148ae19790b0443c
npx [email protected] .