feat(autoware_planning_test_manager): remove dependency of VirtualTrafficLightState and ExpandStopRange #9953
+41
−34
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main)
succeeded
Jan 19, 2025 in 36s
CodeScene PR Check
✅ Code Health Quality Gates: OK
Change in average Code Health of affected files: +0.02 (9.52 -> 9.55)
- Improving Code Health: 2 findings(s) ✅
Details
✅ Improving Code Health:
- Primitive Obsession autoware_planning_test_manager.cpp
- String Heavy Function Arguments autoware_planning_test_manager.cpp
Annotations
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
✅ Getting better: Primitive Obsession
The ratio of primitive types in function arguments decreases from 45.26% to 45.05%, threshold = 30.0%. The functions in this file have too many primitive types (e.g. int, double, float) in their function argument lists. Using many primitive types lead to the code smell Primitive Obsession. Avoid adding more primitive arguments.
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
✅ Getting better: String Heavy Function Arguments
The ratio of strings in function arguments decreases from 43.16% to 42.86%, threshold = 39.0%. The functions in this file have a high ratio of strings as arguments. Avoid adding more.
Loading