Avoid an exception on sign out when the principal is populated from an incomplete external login #18078
This check has been archived and is scheduled for deletion.
Learn more about checks retention
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (v13/dev)
succeeded
Jan 22, 2025 in 37s
CodeScene PR Check
✅ Code Health Quality Gates: OK
Change in average Code Health of affected files: +0.14 (5.43 -> 5.57)
- Improving Code Health: 1 findings(s) ✅
Details
✅ Improving Code Health:
- Code Duplication BackOfficeUserStore.cs
Annotations
Check notice on line 1 in src/Umbraco.Infrastructure/Security/BackOfficeUserStore.cs
codescene-delta-analysis / CodeScene Cloud Delta Analysis (v13/dev)
✅ Getting better: Code Duplication
reduced similar code in: FindByNameAsync,FindUserAsync. Avoid duplicated, aka copy-pasted, code inside the module. More duplication lowers the code health.
Check notice on line 1 in src/Umbraco.Infrastructure/Security/BackOfficeUserStore.cs
codescene-delta-analysis / CodeScene Cloud Delta Analysis (v13/dev)
ℹ Getting worse: Overall Code Complexity
The mean cyclomatic complexity increases from 5.04 to 5.08, threshold = 4. This file has many conditional statements (e.g. if, for, while) across its implementation, leading to lower code health. Avoid adding more conditionals.
Loading