Cache a dictionary of dictionaries #15908
Merged
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (contrib)
succeeded
Jun 29, 2024 in 39s
CodeScene PR Check
✅ Code Health Quality Gates: OK
Change in average Code Health of affected files: +0.00 (9.69 -> 9.69)
- Improving Code Health: 1 findings(s) ✅
Details
✅ Improving Code Health:
- Primitive Obsession UmbracoHelper.cs
Annotations
Check notice on line 1 in src/Umbraco.Web.Common/UmbracoHelper.cs
codescene-delta-analysis / CodeScene Cloud Delta Analysis (contrib)
✅ Getting better: Primitive Obsession
The ratio of primitive types in function arguments decreases from 54.35% to 52.08%, threshold = 30.0%. The functions in this file have too many primitive types (e.g. int, double, float) in their function argument lists. Using many primitive types lead to the code smell Primitive Obsession. Avoid adding more primitive arguments.
Loading