Skip to content

feat: add traffic_light_detector launch

CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main) succeeded Dec 23, 2024 in 43s

CodeScene PR Check

Code Health Quality Gates: OK

Change in average Code Health of affected files: -0.03 (9.43 -> 9.40)

  • Declining Code Health: 1 findings(s) 🚩

View detailed results in CodeScene

Details

🚩 Declining Code Health (highest to lowest):

  • Large Method traffic_light_node_container.launch.py: create_traffic_light_node_container

Annotations

Check warning on line 219 in launch/tier4_perception_launch/launch/traffic_light_recognition/traffic_light_node_container.launch.py

See this annotation in the file changed.

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

❌ Getting worse: Large Method

create_traffic_light_node_container increases from 136 to 152 lines of code, threshold = 70. Large functions with many lines of code are generally harder to understand and lower the code health. Avoid adding more lines to this function.