fix(autoware_dummy_diag_publisher): add autowre prefix #9958
+99
−32
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main)
succeeded
Jan 18, 2025 in 47s
CodeScene PR Check
✅ Code Health Quality Gates: OK
Change in average Code Health of affected files: -0.90 (10.00 -> 9.10)
- Declining Code Health: 2 findings(s) 🚩
Details
🚩 Declining Code Health (highest to lowest):
- Deep, Nested Complexity dummy_diag_publisher_core.cpp: DummyDiagPublisher::onSetParams
- Complex Method dummy_diag_publisher_core.cpp: DummyDiagPublisher::onSetParams
Annotations
Check warning on line 201 in system/autoware_dummy_diag_publisher/src/dummy_diag_publisher_core.cpp
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
❌ New issue: Complex Method
DummyDiagPublisher::onSetParams has a cyclomatic complexity of 9, 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 201 in system/autoware_dummy_diag_publisher/src/dummy_diag_publisher_core.cpp
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
❌ New issue: Deep, Nested Complexity
DummyDiagPublisher::onSetParams has a nested complexity depth of 4, threshold = 4. This function contains deeply nested logic such as if statements and/or loops. The deeper the nesting, the lower the code health.
Loading