vuejs/vue
This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
9e88707 ↗TypeScript★ 212,622 (+169 today)lists: typescriptvitest-dedup 0.10.0
- Tests analyzed
- 1,796
- in 134 files
- Compared
- 76.8%
- 417 tests could not be compared
- Findings
- 105
- 104 warnings
- Exact duplicates
- 1
- 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.
vdom patch: children > should handle static vnodes properly
test/unit/modules/vdom/patch/children.spec.ts:476–495 ↗vdom patch: children > should handle static vnodes inside
test/unit/modules/vdom/patch/children.spec.ts:497–516 ↗
- Near-duplicate testwarning
2 tests execute the same behavior events with at least one different ordering under an equivalent context; if the reordered statements are independent this may be redundant coverage, but equivalence is not proven, so the likely remedy is to.
vdom patch: children > should add children to parent with no children
test/unit/modules/vdom/patch/children.spec.ts:94–101 ↗vdom patch: children > should remove all children from parent
test/unit/modules/vdom/patch/children.spec.ts:103–110 ↗
- Duplicate test namewarning
2 tests in this file share the full title "Instance methods data > $watch > handler option in string".
Instance methods data > $watch > handler option in string
test/unit/features/instance/methods-data.spec.ts:113–120 ↗Instance methods data > $watch > handler option in string
test/unit/features/instance/methods-data.spec.ts:122–129 ↗
- Parameterization candidatewarning
21 tests share identical structure but differ only in literal values; consolidate into one `test.each` table that keeps every case as its own row; 21 tests form one cluster, reported as a single finding instead of 210 pairwise findings (spa.
parser > not contain root element
test/unit/modules/compiler/parser.spec.ts:85–90 ↗parser > warn text before root element
test/unit/modules/compiler/parser.spec.ts:92–97 ↗parser > warn text after root element
test/unit/modules/compiler/parser.spec.ts:99–104 ↗parser > warn multiple root elements
test/unit/modules/compiler/parser.spec.ts:106–111 ↗
and 17 more
- 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.
optimizer > interpolation
test/unit/modules/compiler/optimizer.spec.ts:44–49 ↗optimizer > v-if directive
test/unit/modules/compiler/optimizer.spec.ts:83–91 ↗optimizer > v-once directive
test/unit/modules/compiler/optimizer.spec.ts:134–139 ↗optimizer > slot target
test/unit/modules/compiler/optimizer.spec.ts:158–163 ↗
and 6 more
Findings by rule
- Parameterization candidate102
- Duplicate test name1
- Near-duplicate test1
- Duplicate test1
Not compared
- registered-elsewhere209
- imported helper unreadable159
- registered-inside-function38
- context could not be resolved11
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-07 | 6 | 9e88707 | 0.10.0 | 1,796 | 76.8% | 105 | 1 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/vuejs/vue.git
cd vue
git checkout 9e88707940088cb1f4cd7dd210c9168a50dc347c
npx [email protected] .