Fix for bug #18129 #18137
Open
Fix for bug #18129 #18137
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (contrib)
succeeded
Jan 27, 2025 in 47s
CodeScene PR Check
✅ Code Health Quality Gates: OK
Change in average Code Health of affected files: -0.30 (9.51 -> 9.21)
- Declining Code Health: 1 findings(s) 🚩
Details
🚩 Declining Code Health (highest to lowest):
- Constructor Over-Injection ContentFinderByUrlAndTemplate.cs: ContentFinderByUrlAndTemplate
Annotations
Check warning on line 49 in src/Umbraco.Core/Routing/ContentFinderByUrlAndTemplate.cs
codescene-delta-analysis / CodeScene Cloud Delta Analysis (contrib)
❌ New issue: Constructor Over-Injection
ContentFinderByUrlAndTemplate has 7 arguments, threshold = 5. This constructor has too many arguments, indicating an object with low cohesion or missing function argument abstraction. Avoid adding more arguments.
Loading