mifi/lossless-cut
The swiss army knife of lossless video/audio editing
c40730a ↗TypeScript★ 45,226 (+43 today)lists: typescriptvitest-dedup 0.7.0
- Tests analyzed
- 149
- in 14 files
- Compared
- 100%
- 0 tests could not be compared
- Findings
- 22
- 22 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
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.
file uri both platforms > escapes more special characters in path
src/main/pathToFileURL.test.ts:31–33 ↗file uri both platforms > escapes whitespace characters in path
src/main/pathToFileURL.test.ts:35–37 ↗file uri both platforms > relative path
src/main/pathToFileURL.test.ts:39–41 ↗file uri both platforms > slash
src/main/pathToFileURL.test.ts:43–45 ↗
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.
truncateFileName > keeps short names as is
src/common/util.test.ts:49–51 ↗truncateFileName > truncates names without extension
src/common/util.test.ts:56–58 ↗
- 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.
getFfmpegJpegQuality > quality 1 -> best (2)
src/main/ffmpegUtil.test.ts:6–8 ↗getFfmpegJpegQuality > quality 0 -> worst (31)
src/main/ffmpegUtil.test.ts:10–12 ↗
- 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.
getFfmpegJpegQuality > quality 0 -> worst (31)
src/main/ffmpegUtil.test.ts:10–12 ↗getFfmpegJpegQuality > mid quality 0.5 -> 17
src/main/ffmpegUtil.test.ts:14–16 ↗
- 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.
getFfmpegJpegQuality > mid quality 0.5 -> 17
src/main/ffmpegUtil.test.ts:14–16 ↗getFfmpegJpegQuality > values above 1 are clamped to range
src/main/ffmpegUtil.test.ts:22–25 ↗
Findings by rule
- Parameterization candidate22
Not compared
Every test was compared.
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-10-21 | 1 | c40730a | 0.7.0 | 149 | 100% | 22 | 0 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/mifi/lossless-cut.git
cd lossless-cut
git checkout c40730ae73d3edeab32d166710fb4987b393be0a
npx [email protected] .