immich-app/immich
High performance self-hosted photo and video management solution.
037e5bc ↗TypeScript★ 118,362 (+102 today)lists: typescriptvitest-dedup 0.9.0
- Tests analyzed
- 247
- in 256 files
- Compared
- 64%
- 89 tests could not be compared
- Findings
- 19
- 19 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.
isLeapDayObserved > should return false on february 28th in a leap year
server/src/utils/date.spec.ts:37–40 ↗isLeapDayObserved > should return false on other days
server/src/utils/date.spec.ts:47–50 ↗
- Parameterization candidatewarning
7 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row; 7 tests form one cluster, reported as a single finding instead of 21 pairwise findings (spanni.
boundingBoxOverlap > should return 0 for non-overlapping boxes
server/src/utils/editor.spec.ts:13–17 ↗boundingBoxOverlap > should return 0.5 for 50% overlap
server/src/utils/editor.spec.ts:19–23 ↗boundingBoxOverlap > should return 0.25 for 25% overlap
server/src/utils/editor.spec.ts:25–29 ↗boundingBoxOverlap > should return 1 when boxA is fully contained in boxB
server/src/utils/editor.spec.ts:31–35 ↗
and 3 more
- Parameterization candidatewarning
5 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row; 5 tests form one cluster, reported as a single finding instead of 10 pairwise findings (spanni.
findClosestTimelineMonthForDate > should handle year boundaries correctly (2023-12 vs 2024-01)
web/src/lib/managers/timeline-manager/internal/search-support.svelte.spec.ts:43–49 ↗findClosestTimelineMonthForDate > should correctly calculate distance across years
web/src/lib/managers/timeline-manager/internal/search-support.svelte.spec.ts:51–56 ↗findClosestTimelineMonthForDate > should handle target before all months
web/src/lib/managers/timeline-manager/internal/search-support.svelte.spec.ts:58–62 ↗findClosestTimelineMonthForDate > should handle target after all months
web/src/lib/managers/timeline-manager/internal/search-support.svelte.spec.ts:64–68 ↗
and 1 more
- 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.
findSidecar > should find sidecar file with photo.xmp naming convention
packages/cli/src/commands/asset.spec.ts:398–404 ↗findSidecar > should find sidecar file with photo.ext.xmp naming convention
packages/cli/src/commands/asset.spec.ts:406–412 ↗
- 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.
deleteFiles > should delete asset and sidecar file when main file is deleted
packages/cli/src/commands/asset.spec.ts:444–452 ↗deleteFiles > should not delete sidecar file when delete option is false
packages/cli/src/commands/asset.spec.ts:454–462 ↗
Findings by rule
- Parameterization candidate18
- Near-duplicate test1
Not compared
- context could not be resolved89
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-06 | 8 | 037e5bc | 0.9.0 | 247 | 64% | 19 | 0 |
| 2026-11-04 | 7 | 78515cb | 0.9.0 | 270 | 66.3% | 20 | 1 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/immich-app/immich.git
cd immich
git checkout 037e5bc0554074bfe91e20b802a6a4ef4a6dd6f9
npx [email protected] .