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

fix(lane_change): update rtc status for some failure condition #8604

Merged
merged 1 commit into from
Aug 26, 2024

update rtc status for some failure condition

63a8851
Select commit
Loading
Failed to load commit list.
Merged

fix(lane_change): update rtc status for some failure condition #8604

update rtc status for some failure condition
63a8851
Select commit
Loading
Failed to load commit list.
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main) succeeded Aug 24, 2024 in 27s

CodeScene PR Check

Code Health Quality Gates: OK

Change in average Code Health of affected files: +0.00 (9.22 -> 9.22)

  • Affected Hotspots: 1 files(s) 🔥

View detailed results in CodeScene

Details

Annotations

Check notice on line 271 in planning/behavior_path_planner/autoware_behavior_path_lane_change_module/src/interface.cpp

See this annotation in the file changed.

@codescene-delta-analysis codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)

ℹ Getting worse: Complex Method

LaneChangeInterface::canTransitFailureState already has high cyclomatic complexity, and now it increases in Lines of Code from 100 to 106. 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.