Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(goal_planner): resample path interval for lane departure check accuracy #10058

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

feat(goal_planner): resample path interval for lane departure check a…

8fe1b22
Select commit
Loading
Failed to load commit list.
Open

feat(goal_planner): resample path interval for lane departure check accuracy #10058

feat(goal_planner): resample path interval for lane departure check a…
8fe1b22
Select commit
Loading
Failed to load commit list.
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

Check warning on line 307 in planning/behavior_path_planner/autoware_behavior_path_goal_planner_module/src/pull_over_planner/shift_pull_over.cpp

See this annotation in the file changed.

@codescene-delta-analysis 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.