Feature: no callback then destroy #17943
Open
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (v15/dev)
succeeded
Jan 10, 2025 in 35s
CodeScene PR Check
✅ Code Health Quality Gates: OK
Change in average Code Health of affected files: -0.16 (10.00 -> 9.84)
- Declining Code Health: 1 findings(s) 🚩
Details
🚩 Declining Code Health (highest to lowest):
- Bumpy Road Ahead observer.ts: UmbObserver.asPromise
Annotations
Check warning on line 47 in src/Umbraco.Web.UI.Client/src/libs/observable-api/observer.ts
codescene-delta-analysis / CodeScene Cloud Delta Analysis (v15/dev)
❌ New issue: Bumpy Road Ahead
UmbObserver.asPromise has 3 blocks with nested conditional logic. Any nesting of 2 or deeper is considered. Threshold is one single, nested block per function. The Bumpy Road code smell is a function that contains multiple chunks of nested conditional logic. The deeper the nesting and the more bumps, the lower the code health.
Loading