perf(motion_velocity_smoother): remove some heavy debug logging #8798
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main)
succeeded
Sep 13, 2024 in 53s
CodeScene PR Check
✅ Code Health Quality Gates: OK
Change in average Code Health of affected files: +0.02 (5.96 -> 5.98)
- Improving Code Health: 2 findings(s) ✅
Details
✅ Improving Code Health:
- Complex Method velocity_planning_utils.cpp: calcStopVelocityWithConstantJerkAccLimit
- Overall Code Complexity velocity_planning_utils.cpp
Annotations
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
✅ Getting better: Complex Method
calcStopVelocityWithConstantJerkAccLimit decreases in cyclomatic complexity from 26 to 25, 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 (main)
✅ Getting better: Overall Code Complexity
The mean cyclomatic complexity decreases from 9.14 to 9.00, 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