LibreSpark/LibreTV
一分钟搭建影视站,支持Docker等部署方式
97f6ec4 ↗TypeScript★ 24,503 (+198 today)lists: typescriptvitest-dedup 0.10.0
- Tests analyzed
- 601
- in 41 files
- Compared
- 100%
- 0 tests could not be compared
- Findings
- 32
- 32 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.
isWebAudioSafeForVideo > blob: / data: 源(hls.js MSE 产物)安全
src/lib/volume-boost.test.ts:122–127 ↗isWebAudioSafeForVideo > 同源直连与本站代理路径安全
src/lib/volume-boost.test.ts:129–134 ↗
- 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.
POST /api/live/probe > 返回 HTML 的伪 m3u8 判为不可用
src/app/api/live/probe/route.test.ts:96–102 ↗POST /api/live/probe > 返回 HTML 的伪直链判为不可用(content-type 校验)
src/app/api/live/probe/route.test.ts:104–110 ↗
- 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.
extractEpisodesFromPlayUrl > 过滤无 URL 或非 http 的集
src/lib/cms-parser.test.ts:58–61 ↗extractEpisodesFromPlayUrl > 第一条线路为中转页时优先取 m3u8 线路(量子/非凡类源)
src/lib/cms-parser.test.ts:63–69 ↗
- 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.
extractEpisodesFromPlayUrl > 第一条线路为中转页时优先取 m3u8 线路(量子/非凡类源)
src/lib/cms-parser.test.ts:63–69 ↗extractEpisodesFromPlayUrl > 第一条线路为空时取后续有效线路
src/lib/cms-parser.test.ts:71–74 ↗
- 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.
extractEpisodesFromPlayUrl > 第一条线路为空时取后续有效线路
src/lib/cms-parser.test.ts:71–74 ↗extractEpisodesFromPlayUrl > 两条线路均无 m3u8 时回退第一条
src/lib/cms-parser.test.ts:76–79 ↗
Findings by rule
- Parameterization candidate31
- Near-duplicate test1
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-11-12 | 3 | 97f6ec4 | 0.10.0 | 601 | 100% | 32 | 0 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/LibreSpark/LibreTV.git
cd LibreTV
git checkout 97f6ec437ab70ee4aeb49b745ced693d7ea0522a
npx [email protected] .