Refactor settings arrays to ISet<T>
(to ensure unique values and make them easily mutable)
#16058
+110
−97
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (v14/dev)
succeeded
Apr 15, 2024 in 31s
CodeScene PR Check
✅ Code Health Quality Gates: OK
- Declining Code Health: 1 findings(s) 🚩
Details
🚩 Declining Code Health (highest to lowest):
- Large Method RichTextEditorSettings.cs: HashSet
Annotations
Check warning on line 20 in src/Umbraco.Core/Configuration/Models/RichTextEditorSettings.cs
codescene-delta-analysis / CodeScene Cloud Delta Analysis (v14/dev)
❌ New issue: Large Method
HashSet has 96 lines, threshold = 70. Large functions with many lines of code are generally harder to understand and lower the code health. Avoid adding more lines to this function.
Loading