Skip to content
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main) succeeded Jan 6, 2025 in 56s

CodeScene PR Check

Code Health Quality Gates: OK

Change in average Code Health of affected files: +0.20 (9.43 -> 9.63)

  • Improving Code Health: 1 findings(s) ✅

View detailed results in CodeScene

Details

✅ Improving Code Health:

  • Large Method traffic_light_node_container.launch.py: create_traffic_light_node_container

Annotations

Check notice on line 164 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 better: Large Method

create_traffic_light_node_container decreases from 136 to 101 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.