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(mrm_handler): simplify hazard command choice #9929

Merged
merged 1 commit into from
Jan 16, 2025

fix(mrm_handler): simplify hazard command choice

6f77a0e
Select commit
Loading
Failed to load commit list.
Merged

fix(mrm_handler): simplify hazard command choice #9929

fix(mrm_handler): simplify hazard command choice
6f77a0e
Select commit
Loading
Failed to load commit list.
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main) succeeded Jan 16, 2025 in 49s

CodeScene PR Check

Code Health Quality Gates: OK

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

  • Improving Code Health: 1 findings(s) ✅

View detailed results in CodeScene

Details

✅ Improving Code Health:

  • Overall Code Complexity mrm_handler_core.cpp

Annotations

Check notice on line 1 in system/mrm_handler/src/mrm_handler/mrm_handler_core.cpp

See this annotation in the file changed.

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

✅ Getting better: Overall Code Complexity

The mean cyclomatic complexity decreases from 5.57 to 5.52, 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.