Skip to content

Typo fix.

a4fcd2c
Select commit
Loading
Failed to load commit list.
Merged

Amend accessibility modifiers on file upload property editor components to support extension #19643

Typo fix.
a4fcd2c
Select commit
Loading
Failed to load commit list.
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main) failed Jun 30, 2025 in 58s

CodeScene PR Check

Quality Gate Failed

Gates Failed
Enforce advisory code health rules (1 file with Primitive Obsession)

Gates Passed
3 Quality Gates Passed

See analysis details in CodeScene

Reason for failure
Enforce advisory code health rules Violations Code Health Impact
FileUploadPropertyValueEditor.cs 1 advisory rule 9.31 → 9.02 Suppress

Quality Gate Profile: Clean Code Collective
Want more control? Customize Code Health rules or catch issues early with our IDE extension and CLI tool.

Details

🚩 Declining Code Health (highest to lowest):

  • Primitive Obsession FileUploadPropertyValueEditor.cs

Annotations

Check warning on line 1 in src/Umbraco.Infrastructure/PropertyEditors/FileUploadPropertyValueEditor.cs

See this annotation in the file changed.

@codescene-delta-analysis codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)

❌ New issue: Primitive Obsession

In this module, 50.0% of all function arguments are primitive types, 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.