Skip to content

Cherry-pick #20142 for V16 - #20147

Merged
kjac merged 3 commits into
mainfrom
v16/task/cherry-pick-20142
Sep 16, 2025
Merged

Cherry-pick #20142 for V16#20147
kjac merged 3 commits into
mainfrom
v16/task/cherry-pick-20142

Merge branch 'main' into v16/task/cherry-pick-20142

faa1554
Select commit
Loading
Failed to load commit list.
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main) failed Sep 16, 2025 in 50s

CodeScene PR Check

Quality Gate Failed

Gates Failed
Enforce advisory code health rules (1 file with Code Duplication)

Gates Passed
3 Quality Gates Passed

See analysis details in CodeScene

Reason for failure
Enforce advisory code health rules Violations Code Health Impact
ApiRichTextMarkupParserTests.cs 1 advisory rule 10.00 → 9.39 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):

  • Code Duplication ApiRichTextMarkupParserTests.cs

Annotations

Check warning on line 119 in tests/Umbraco.Tests.UnitTests/Umbraco.Infrastructure/DeliveryApi/ApiRichTextMarkupParserTests.cs

See this annotation in the file changed.

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

❌ New issue: Code Duplication

The module contains 2 functions with similar structure: Can_Parse_LocalLinks,Can_Parse_LocalLinks_With_Postfix. Avoid duplicated, aka copy-pasted, code inside the module. More duplication lowers the code health.