feat(autoware_multi_object_tracker): set maximum reverse velocity to bicycle and crtv motion models #9019
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main)
failed
Oct 4, 2024 in 51s
CodeScene PR Check
❌ Code Health Quality Gates: FAILED
Change in average Code Health of affected files: -0.27 (8.82 -> 8.55)
- Declining Code Health: 2 findings(s) 🚩
Details
🚩 Declining Code Health (highest to lowest):
- Complex Method bicycle_motion_model.cpp: BicycleMotionModel::limitStates
- Complex Method ctrv_motion_model.cpp: CTRVMotionModel::limitStates
Annotations
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
❌ New issue: Complex Method
BicycleMotionModel::limitStates 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 (main)
❌ New issue: Complex Method
CTRVMotionModel::limitStates 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.
Loading