V15 Added acceptance tests for the block with RTE in a Content #18301
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (v15/hotfix/nested-rte-partial-variancy)
failed
Feb 13, 2025 in 28s
CodeScene PR Check
Quality Gate Failed
Gates Failed
New code is healthy
(1 new file with code health below 9.00)
Enforce advisory code health rules
(2 files with Code Duplication)
Gates Passed
2 Quality Gates Passed
See analysis details in CodeScene
Reason for failure
New code is healthy | Violations | Code Health Impact | |
---|---|---|---|
ContentWithBlockGrid.spec.ts | 1 rule | 10.00 → 8.55 | Suppress |
Enforce advisory code health rules | Violations | Code Health Impact | |
---|---|---|---|
ContentWithBlockGrid.spec.ts | 1 advisory rule | 10.00 → 8.55 | Suppress |
ContentWithBlockList.spec.ts | 1 advisory rule | 10.00 → 9.10 | Suppress |
Quality Gate Profile: Clean Code Collective
Want more control? Customize Code Health rules or catch issues early with our IDE extension and CLI tool.
Details
🚩 Declining Code Health (highest to lowest):
- Code Duplication ContentWithBlockGrid.spec.ts
- Code Duplication ContentWithBlockList.spec.ts
Annotations
codescene-delta-analysis / CodeScene Cloud Delta Analysis (v15/hotfix/nested-rte-partial-variancy)
❌ New issue: Code Duplication
The module contains 15 functions with similar structure: 'can add an invariant block element with RTE TinyMCE in the content','can add an invariant block element with RTE Tiptap in the content','can add an variant block element with an invariant RTE TinyMCE in the content','can add an variant block element with an invariant RTE Tiptap in the content' and 11 more functions. Avoid duplicated, aka copy-pasted, code inside the module. More duplication lowers the code health.
codescene-delta-analysis / CodeScene Cloud Delta Analysis (v15/hotfix/nested-rte-partial-variancy)
❌ New issue: Code Duplication
The module contains 10 functions with similar structure: 'can add an invariant block element with RTE TinyMCE in the content','can add an invariant block element with RTE Tiptap in the content','can add an variant block element with an invariant RTE TinyMCE in the content','can add an variant block element with an invariant RTE Tiptap in the content' and 6 more functions. Avoid duplicated, aka copy-pasted, code inside the module. More duplication lowers the code health.
Loading