feat(tier4_adapi_rviz_plugin): add legacy state panel #7494
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main)
succeeded
Jun 14, 2024 in 38s
CodeScene PR Check
✅ Code Health Quality Gates: OK
- Declining Code Health: 2 findings(s) 🚩
Details
🚩 Declining Code Health (highest to lowest):
- Complex Method state_panel.cpp: StatePanel::onMRMState
- Complex Method state_panel.cpp: StatePanel::onOperationMode
Annotations
Check warning on line 529 in common/tier4_adapi_rviz_plugin/src/state_panel.cpp
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
❌ New issue: Complex Method
StatePanel::onMRMState has a cyclomatic complexity of 11, threshold = 9. 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.
Check warning on line 354 in common/tier4_adapi_rviz_plugin/src/state_panel.cpp
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
❌ New issue: Complex Method
StatePanel::onOperationMode has a cyclomatic complexity of 10, threshold = 9. 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.
Loading