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

refactor(autoware_mpc_lateral_controller): speed up matrix calculation with sparse matrix #8908

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

refactor(autoware_mpc_lateral_controller): speed up matrix calculatio…

bea8012
Select commit
Loading
Failed to load commit list.
Open

refactor(autoware_mpc_lateral_controller): speed up matrix calculation with sparse matrix #8908

refactor(autoware_mpc_lateral_controller): speed up matrix calculatio…
bea8012
Select commit
Loading
Failed to load commit list.
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main) succeeded Sep 18, 2024 in 1m 16s

CodeScene PR Check

Code Health Quality Gates: OK

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

View detailed results in CodeScene

Details

Annotations

Check notice on line 1 in control/autoware_mpc_lateral_controller/src/mpc.cpp

See this annotation in the file changed.

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

ℹ Getting worse: Overall Code Complexity

The mean cyclomatic complexity increases from 5.11 to 5.16, threshold = 4. This file has many conditional statements (e.g. if, for, while) across its implementation, leading to lower code health. Avoid adding more conditionals.