phaserjs/phaser
Phaser is a fun, free and fast 2D game framework for making HTML5 games for desktop and mobile web browsers, supporting Canvas and WebGL rendering.
1c7f48a ↗JavaScript★ 40,945 (+43 today)lists: javascriptvitest-dedup 0.11.0
- Tests analyzed
- 24,567
- in 1,157 files
- Compared
- 100%
- 7 tests could not be compared
- Findings
- 2,571
- 2,473 warnings
- Exact duplicates
- 98
- 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.
Phaser.Actions.AddMaskShape > should use scene scale dimensions as the region when no region is provided
tests/actions/AddMaskShape.test.js:183–189 ↗Phaser.Actions.AddMaskShape > should not alter the region when padding is not specified
tests/actions/AddMaskShape.test.js:247–252 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
Phaser.Actions.Rotate > should add the value to each item rotation
tests/actions/Rotate.test.js:23–30 ↗Phaser.Actions.Rotate > should default step to zero when not provided
tests/actions/Rotate.test.js:85–92 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
Phaser.Actions.SetAlpha > should set alpha on all items to the given value
tests/actions/SetAlpha.test.js:25–33 ↗Phaser.Actions.SetAlpha > should default step to 0 when not provided
tests/actions/SetAlpha.test.js:66–74 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
Phaser.Actions.SetVisible > should set visible to false on all items
tests/actions/SetVisible.test.js:25–33 ↗Phaser.Actions.SetVisible > should default index to 0 when not provided
tests/actions/SetVisible.test.js:76–84 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
Phaser.Curves.Curve > getBounds > should create a new Rectangle when out is not provided
tests/curves/Curve.test.js:593–598 ↗Phaser.Curves.Curve > getBounds > should use accuracy=16 by default
tests/curves/Curve.test.js:608–614 ↗
Findings by rule
- Parameterization candidate2,415
- Duplicate test98
- Near-duplicate test57
- Cross-file duplicate1
Not compared
- order-dependent-state6
- context could not be resolved1
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-12-04 | 13 | 1c7f48a | 0.11.0 | 24,567 | 100% | 2,571 | 98 |
| 2026-10-31 | 11 | 02d8931 | 0.9.0 | 23,328 | 100% | 2,558 | 94 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/phaserjs/phaser.git
cd phaser
git checkout 1c7f48a94043b046a5ed2cea8a758f6fbd02c299
npx [email protected] .