feat(goal_planner): resample path interval for lane departure check accuracy #10058
+11
−2
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main)
succeeded
Feb 5, 2025 in 35s
CodeScene PR Check
✅ Code Health Quality Gates: OK
Change in average Code Health of affected files: +0.00 (9.38 -> 9.38)
-
Declining Code Health: 1 findings(s) 🚩
-
Affected Hotspots: 1 files(s) 🔥
Details
🚩 Declining Code Health (highest to lowest):
- Complex Method shift_pull_over.cpp: ShiftPullOver::generatePullOverPath 🔥
Annotations
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
❌ Getting worse: Complex Method
ShiftPullOver::generatePullOverPath already has high cyclomatic complexity, and now it increases in Lines of Code from 137 to 139. 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