Skip to content

update rtc status for some failure condition

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.