fix(lane_departure_checker): empty lanelet polygon #6588
Merged
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main)
failed
Mar 11, 2024 in 36s
CodeScene PR Check
❌ Code Health Quality Gates: FAILED
- Declining Code Health: 1 findings(s) 🚩
- Improving Code Health: 0 findings(s) ✅
- Affected Hotspots: 0 files(s) 🔥
Recommended Review Level: Detailed -- Inspect the code that degrades in code health.
View detailed results in CodeScene
Details
🚩 Declining Code Health (highest to lowest):
- Complex Method shift_pull_out.cpp: ShiftPullOut::plan
Annotations
Check warning on line 113 in planning/behavior_path_start_planner_module/src/shift_pull_out.cpp
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
❌ New issue: Complex Method
ShiftPullOut::plan 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