Tree Navigation: Add visual indicators for items with restricted access #21365
CodeScene Delta Analysis / CodeScene Code Health Review (main)
failed
Jan 14, 2026 in 42s
CodeScene PR Check
Quality Gate Failed
Gates Failed
Enforce advisory code health rules
(1 file with Complex Conditional)
Gates Passed
3 Quality Gates Passed
See analysis details in CodeScene
Reason for failure
| Enforce advisory code health rules | Violations | Code Health Impact | |
|---|---|---|---|
| tree-item-element-base.ts | 1 advisory rule | 10.00 → 9.69 | 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):
- Complex Conditional tree-item-element-base.ts: UmbTreeItemElementBase.handleKeydown
✅ Improving Code Health:
- Complex Method document-workspace-editor.element.ts: UmbDocumentWorkspaceEditorElement.generateRoutes
Annotations
codescene-delta-analysis / CodeScene Code Health Review (main)
❌ New issue: Complex Conditional
UmbTreeItemElementBase.handleKeydown has 1 complex conditionals with 2 branches, threshold = 2. A complex conditional is an expression inside a branch (e.g. if, for, while) which consists of multiple, logical operators such as AND/OR. The more logical operators in an expression, the more severe the code smell.
codescene-delta-analysis / CodeScene Code Health Review (main)
✅ Getting better: Complex Method
UmbDocumentWorkspaceEditorElement.generateRoutes decreases in cyclomatic complexity from 17 to 16, threshold = 9. This function has many conditional statements (e.g. if, for, while), leading to lower code health. Avoid adding more conditionals and code to it without refactoring.
Loading