feat(goal_planner): resample path interval for lane departure check accuracy #10058
+11
−2
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main)
failed
Feb 12, 2025 in 44s
CodeScene PR Check
Quality Gate Failed
Gates Failed
Prevent hotspot decline
(1 hotspot with Complex Method)
Enforce advisory code health rules
(1 file with Complex Method)
Gates Passed
2 Quality Gates Passed
See analysis details in CodeScene
Reason for failure
Prevent hotspot decline | Violations | Code Health Impact | |
---|---|---|---|
shift_pull_over.cpp | 1 rule in this hotspot | 9.25 → 9.24 | Suppress |
Enforce advisory code health rules | Violations | Code Health Impact | |
---|---|---|---|
shift_pull_over.cpp | 1 advisory rule | 9.25 → 9.24 | Suppress |
Quality Gate Profile: Clean Code Collective
Want more control? Customize Code Health rules or catch issues early with our IDE extension and CLI tool.
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