likec4/likec4
Visualize, collaborate, and evolve the software architecture with always actual and live diagrams from your code
55aec0d ↗TypeScript★ 6,418 (+112 today)lists: typescriptvitest-dedup 0.11.0
- Tests analyzed
- 3,617
- in 452 files
- Compared
- 99.6%
- 16 tests could not be compared
- Findings
- 304
- 295 warnings
- Exact duplicates
- 9
- 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.
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
RectBox > fromPoints > should create a box from points
packages/core/src/geometry/bbox.spec.ts:250–266 ↗RectBox > fromPoints > should create a box from points
packages/core/src/geometry/bbox.spec.ts:270–286 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
RectBox > toBBox > should convert RectBox to BBox correctly
packages/core/src/geometry/bbox.spec.ts:305–315 ↗RectBox > toBBox > should convert RectBox to BBox correctly
packages/core/src/geometry/bbox.spec.ts:319–329 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
normalizeViewPath > should throw for multiline input
packages/core/src/model/utils/view-title-path.spec.ts:35–37 ↗getViewFolderPath > should throw for multiline input
packages/core/src/model/utils/view-title-path.spec.ts:67–69 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
text > should print text with single quotes
packages/generators/src/likec4/operators/base.spec.ts:53–55 ↗text > should print text with single quotes
packages/generators/src/likec4/operators/base.spec.ts:61–63 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
modelExpression > relation > should print direct expression
packages/generators/src/likec4/operators/expressions.spec.ts:316–321 ↗expression > relation with model refs > should print direct expression
packages/generators/src/likec4/operators/expressions.spec.ts:676–681 ↗
Findings by rule
- Parameterization candidate280
- Duplicate test9
- Cross-file duplicate7
- Duplicate test name7
- Near-duplicate test1
Not compared
- context could not be resolved7
- order-dependent-state8
- named-callback1
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-04 | 8 | 55aec0d | 0.11.0 | 3,617 | 99.6% | 304 | 9 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/likec4/likec4.git
cd likec4
git checkout 55aec0d759371b0fc8132b9fe1911ab2c5f5042a
npx [email protected] .