CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (v15/dev)
succeeded
Oct 23, 2024 in 32s
CodeScene PR Check
β Code Health Quality Gates: OK
Change in average Code Health of affected files: -0.03 (9.58 -> 9.55)
- Declining Code Health: 5 findings(s) π©
Details
π© Declining Code Health (highest to lowest):
- Deep, Nested Complexity LocalLinkProcessor.cs: ProcessStringValue
- Complex Method ConvertLocalLinks.cs: ProcessPropertyDataDto
- Constructor Over-Injection ConvertLocalLinks.cs: ConvertLocalLinks
- Bumpy Road Ahead ConvertLocalLinks.cs: ProcessPropertyTypes
- Bumpy Road Ahead LocalLinkProcessor.cs: ProcessStringValue
Annotations
codescene-delta-analysis / CodeScene Cloud Delta Analysis (v15/dev)
β New issue: Complex Method
ProcessPropertyDataDto has a cyclomatic complexity of 9, threshold = 9. This function has many conditional statements (e.g. if, for, while), leading to lower code health. Avoid adding more conditionals and code to it without refactoring.
codescene-delta-analysis / CodeScene Cloud Delta Analysis (v15/dev)
β New issue: Bumpy Road Ahead
ProcessPropertyTypes has 2 blocks with nested conditional logic. Any nesting of 2 or deeper is considered. Threshold is one single, nested block per function. The Bumpy Road code smell is a function that contains multiple chunks of nested conditional logic. The deeper the nesting and the more bumps, the lower the code health.
codescene-delta-analysis / CodeScene Cloud Delta Analysis (v15/dev)
β New issue: Constructor Over-Injection
ConvertLocalLinks has 8 arguments, threshold = 5. This constructor has too many arguments, indicating an object with low cohesion or missing function argument abstraction. Avoid adding more arguments.
codescene-delta-analysis / CodeScene Cloud Delta Analysis (v15/dev)
β New issue: Bumpy Road Ahead
ProcessStringValue has 2 blocks with nested conditional logic. Any nesting of 2 or deeper is considered. Threshold is one single, nested block per function. The Bumpy Road code smell is a function that contains multiple chunks of nested conditional logic. The deeper the nesting and the more bumps, the lower the code health.
codescene-delta-analysis / CodeScene Cloud Delta Analysis (v15/dev)
β New issue: Deep, Nested Complexity
ProcessStringValue has a nested complexity depth of 4, threshold = 4. This function contains deeply nested logic such as if statements and/or loops. The deeper the nesting, the lower the code health.
Loading