Fix for Redirect URLs that do not contain a backslash (fixes 22308) #22315
CodeScene Delta Analysis / CodeScene Code Health Review (main)
failed
Mar 31, 2026 in 39s
CodeScene PR Check
Quality Gate Failed
Gates Failed
Enforce critical code health rules
(1 file with Bumpy Road Ahead)
Gates Passed
2 Quality Gates Passed
See analysis details in CodeScene
Reason for failure
| Enforce critical code health rules | Violations | Code Health Impact | |
|---|---|---|---|
| NewDefaultUrlProvider.cs | 1 critical rule | 7.05 → 6.95 | Suppress |
Quality Gate Profile: Clean Code Collective
Install CodeScene MCP: safeguard and uplift AI-generated code. Catch issues early with our IDE extension and CLI tool.
Details
🚩 Declining Code Health (highest to lowest):
- Bumpy Road Ahead NewDefaultUrlProvider.cs: GetUrlFromRoute
Annotations
Check warning on line 243 in src/Umbraco.Core/Routing/NewDefaultUrlProvider.cs
codescene-delta-analysis / CodeScene Code Health Review (main)
❌ New issue: Bumpy Road Ahead
GetUrlFromRoute has 2 blocks with nested conditional logic. Any nesting of 2 or deeper is considered. Threshold is 2 blocks 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