fix(mrm_handler): simplify hazard command choice #9929
Merged
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) ✅
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
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.
Loading