CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main)
failed
May 27, 2024 in 37s
CodeScene PR Check
❌ Code Health Quality Gates: FAILED
- Declining Code Health: 1 findings(s) 🚩
Details
🚩 Declining Code Health (highest to lowest):
- Complex Method velocity_planning_utils.cpp: calcStopVelocityWithConstantJerkAccLimit
Annotations
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
❌ Getting worse: Complex Method
calcStopVelocityWithConstantJerkAccLimit already has high cyclomatic complexity, and now it increases in Lines of Code from 93 to 94. 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.
Loading