mihomo-party-org/clash-party
:electron: Another Mihomo GUI.
2da9705 ↗TypeScript★ 27,145 (+15 today)lists: typescriptvitest-dedup 0.9.0
- Tests analyzed
- 572
- in 41 files
- Compared
- 98.8%
- 7 tests could not be compared
- Findings
- 20
- 20 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
10 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row; 10 tests form one cluster, reported as a single finding instead of 45 pairwise findings (span.
parseDescriptor > rejects non-https loginUrl
src/main/resolve/plugin/descriptor.test.ts:22–24 ↗parseDescriptor > rejects loginUrl with query
src/main/resolve/plugin/descriptor.test.ts:25–27 ↗parseDescriptor > rejects loginUrl with fragment
src/main/resolve/plugin/descriptor.test.ts:28–30 ↗parseDescriptor > rejects loginUrl with a loopback IP literal
src/main/resolve/plugin/descriptor.test.ts:31–33 ↗
and 6 more
- 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.
discoverGateway > rejects non-https gateway
src/main/resolve/plugin/discovery.test.ts:43–46 ↗discoverGateway > rejects gateway with a path
src/main/resolve/plugin/discovery.test.ts:47–50 ↗discoverGateway > rejects gateway with query/fragment
src/main/resolve/plugin/discovery.test.ts:51–54 ↗discoverGateway > rejects a private-IP gateway literal
src/main/resolve/plugin/discovery.test.ts:55–58 ↗
and 3 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.
parseDescriptor > rejects a private IP literal in provider.site
src/main/resolve/plugin/descriptor.test.ts:52–56 ↗parseDescriptor > rejects non-https site
src/main/resolve/plugin/descriptor.test.ts:74–78 ↗
- 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.
parseDescriptor > rejects svg icon
src/main/resolve/plugin/descriptor.test.ts:60–64 ↗parseDescriptor > rejects external icon url
src/main/resolve/plugin/descriptor.test.ts:65–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.
parseDescriptor > rejects invalid JSON
src/main/resolve/plugin/descriptor.test.ts:85–87 ↗parseDescriptor > rejects non-object JSON (e.g. a string)
src/main/resolve/plugin/descriptor.test.ts:88–90 ↗
Findings by rule
- Parameterization candidate20
Not compared
- context could not be resolved7
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 | 14 | 2da9705 | 0.9.0 | 572 | 98.8% | 20 | 0 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/mihomo-party-org/clash-party.git
cd clash-party
git checkout 2da9705c91bd883e39c5162b85a979b43f0fe452
npx [email protected] .