OpenCTI-Platform/opencti
Open Cyber Threat Intelligence Platform
29d01ea ↗TypeScript★ 10,346 (+47 today)lists: typescriptvitest-dedup 0.10.0
- Tests analyzed
- 4,608
- in 525 files
- Compared
- 91.6%
- 385 tests could not be compared
- Findings
- 236
- 232 warnings
- Exact duplicates
- 4
- 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.
Workflow Component > Component rendering > should call fitView on mount
opencti-platform/opencti-front/src/private/components/settings/sub_types/workflow/Workflow.test.tsx:296–299 ↗Workflow Component > ReactFlow integration > should call fitView with correct options
opencti-platform/opencti-front/src/private/components/settings/sub_types/workflow/Workflow.test.tsx:500–504 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
Workflow Component > User interactions > should open drawer when Add Status button is clicked
opencti-platform/opencti-front/src/private/components/settings/sub_types/workflow/Workflow.test.tsx:303–311 ↗Workflow Component > Drawer interactions > should set selectedElement when opening drawer for new status
opencti-platform/opencti-front/src/private/components/settings/sub_types/workflow/Workflow.test.tsx:455–463 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
buildInitialFilters > when host is a fintel template > when host entity type is a container > when perspective is entities > preconfigures an objects filter with SELF_ID value
opencti-platform/opencti-front/src/private/components/widgets/WidgetCreationPerspective.test.tsx:10–32 ↗buildInitialFilters > when host is a custom view > when host entity type is a container > when perspective is entities > preconfigures an objects filter with SELF_ID value
opencti-platform/opencti-front/src/private/components/widgets/WidgetCreationPerspective.test.tsx:120–142 ↗
- Duplicate testerror
2 tests have identical bodies under an equivalent context.
buildInitialFilters > when host is a fintel template > when host entity type is a container > when perspective is relationships > preconfigures an objects filter with SELF_ID value
opencti-platform/opencti-front/src/private/components/widgets/WidgetCreationPerspective.test.tsx:36–58 ↗buildInitialFilters > when host is a custom view > when host entity type is a container > when perspective is relationships > preconfigures an objects filter with SELF_ID value
opencti-platform/opencti-front/src/private/components/widgets/WidgetCreationPerspective.test.tsx:146–168 ↗
- 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.
useStixRelationshipsMultiHorizontalBars > should return correct chartData when stixRelationshipsDistribution is filled with scos entities such as marking definitions
opencti-platform/opencti-front/src/private/components/common/stix_relationships/StixRelationshipsMultiHorizontalBars/useStixRelationshipsMultiHorizontalBars.test.ts:12–131 ↗useStixRelationshipsMultiHorizontalBars > should return correct chartData when stixRelationshipsDistribution is filled with non scos entities such as users
opencti-platform/opencti-front/src/private/components/common/stix_relationships/StixRelationshipsMultiHorizontalBars/useStixRelationshipsMultiHorizontalBars.test.ts:133–219 ↗
Findings by rule
- Parameterization candidate228
- Duplicate test4
- Near-duplicate test2
- Duplicate test name2
Not compared
- imported helper unreadable372
- context could not be resolved13
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 | 7 | 29d01ea | 0.10.0 | 4,608 | 91.6% | 236 | 4 |
| 2026-11-01 | 17 | 04f0a05 | 0.9.0 | 3,809 | 97.8% | 204 | 4 |
Reproduce
The latest analysis, at the same commit and version:
git clone https://github.com/OpenCTI-Platform/opencti.git
cd opencti
git checkout 29d01eab64b423bab3abd8aaa3dc0338b1cff861
npx [email protected] .