v16: Start removing scope references #18074
CodeScene PR Check
✅ Code Health Quality Gates: OK
Change in average Code Health of affected files: +0.26 (8.17 -> 8.43)
- Improving Code Health: 4 findings(s) ✅
Details
✅ Improving Code Health:
- Constructor Over-Injection ContentValueSetValidator.cs: ContentValueSetValidator
- Code Duplication ContentValueSetValidator.cs
- Overall Code Complexity ContentValueSetValidator.cs
- Primitive Obsession ContentValueSetValidator.cs
Annotations
Check notice on line 1 in src/Umbraco.Infrastructure/Examine/ContentValueSetValidator.cs
codescene-delta-analysis / CodeScene Cloud Delta Analysis (v16/dev)
✅ No longer an issue: Code Duplication
The module no longer contains too many functions with similar structure
Check notice on line 1 in src/Umbraco.Infrastructure/Examine/ContentValueSetValidator.cs
codescene-delta-analysis / CodeScene Cloud Delta Analysis (v16/dev)
✅ No longer an issue: Overall Code Complexity
The mean cyclomatic complexity in this module is no longer above the threshold
Check notice on line 1 in src/Umbraco.Infrastructure/Examine/ContentValueSetValidator.cs
codescene-delta-analysis / CodeScene Cloud Delta Analysis (v16/dev)
✅ No longer an issue: Primitive Obsession
The ratio of primivite types in function arguments is no longer above the threshold
Check notice on line 42 in src/Umbraco.Infrastructure/Examine/ContentValueSetValidator.cs
codescene-delta-analysis / CodeScene Cloud Delta Analysis (v16/dev)
✅ No longer an issue: Constructor Over-Injection
ContentValueSetValidator is no longer above the threshold for number of arguments. This constructor has too many arguments, indicating an object with low cohesion or missing function argument abstraction. Avoid adding more arguments.