propertyValuePresentation extension type for displaying complex property values (fixes #20736)
#20748
+680
−309
CodeScene Delta Analysis / CodeScene Code Health Review (main)
failed
Nov 12, 2025 in 54s
CodeScene PR Check
Quality Gate Failed
Code Health Improved
(3 files improve in Code Health)
Gates Failed
Enforce advisory code health rules
(2 files with Complex Method)
Gates Passed
3 Quality Gates Passed
See analysis details in CodeScene
Reason for failure
| Enforce advisory code health rules | Violations | Code Health Impact | |
|---|---|---|---|
| document-collection-item-data-resolver.ts | 1 advisory rule | 9.47 | Suppress |
| media-table-column-system-value.element.ts | 1 advisory rule | 9.69 | Suppress |
View Improvements
| File | Code Health Impact | Categories Improved |
|---|---|---|
| document-table-column-property-value.element.ts | 9.58 → 10.00 | Complex Method |
| document-grid-collection-card.element.ts | 9.50 → 10.00 | Complex Method |
| media-table-collection-view.element.ts | 9.69 → 10.00 | Complex Method |
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 Method document-collection-item-data-resolver.ts: UmbDocumentCollectionItemDataResolver.getSystemValue
- Complex Method media-table-column-system-value.element.ts: UmbMediaTableColumnSystemValueElement.getPropertyValueByAlias
✅ Improving Code Health:
- Complex Method document-grid-collection-card.element.ts: UmbDocumentGridCollectionCardElement.getPropertyValueByAlias
- Complex Method document-table-column-property-value.element.ts: UmbDocumentTableColumnPropertyValueElement.getPropertyValueByAlias
- Complex Method media-table-collection-view.element.ts: UmbMediaTableCollectionViewElement.getPropertyValueByAlias
Annotations
codescene-delta-analysis / CodeScene Code Health Review (main)
✅ No longer an issue: Complex Method
UmbDocumentTableColumnPropertyValueElement.getPropertyValueByAlias is no longer above the threshold for cyclomatic complexity
codescene-delta-analysis / CodeScene Code Health Review (main)
✅ No longer an issue: Complex Method
UmbDocumentGridCollectionCardElement.getPropertyValueByAlias is no longer above the threshold for cyclomatic complexity
codescene-delta-analysis / CodeScene Code Health Review (main)
❌ New issue: Complex Method
UmbMediaTableColumnSystemValueElement.getPropertyValueByAlias has a cyclomatic complexity of 11, 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.
codescene-delta-analysis / CodeScene Code Health Review (main)
✅ No longer an issue: Complex Method
UmbMediaTableCollectionViewElement.getPropertyValueByAlias is no longer above the threshold for cyclomatic complexity
codescene-delta-analysis / CodeScene Code Health Review (main)
❌ New issue: Complex Method
UmbDocumentCollectionItemDataResolver.getSystemValue has a cyclomatic complexity of 19, 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