feat(tier4_autoware_utils, obstacle_cruise): change to read topic by polling #6702
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main)
succeeded
Apr 3, 2024 in 53s
CodeScene PR Check
✅ Code Health Quality Gates: OK
- Improving Code Health: 1 findings(s) ✅
Details
✅ Improving Code Health:
- Complex Conditional node.cpp: ObstacleCruisePlannerNode::onTrajectory
Annotations
Check notice on line 1 in planning/obstacle_cruise_planner/src/node.cpp
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
ℹ Getting worse: Lines of Code in a Single File
The lines of code increases from 1202 to 1208, improve code health by reducing it to 1000. The number of Lines of Code in a single file. More Lines of Code lowers the code health.
Check notice on line 488 in planning/obstacle_cruise_planner/src/node.cpp
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
✅ Getting better: Complex Conditional
ObstacleCruisePlannerNode::onTrajectory decreases from 1 complex conditionals with 3 branches to 1 complex conditionals with 2 branches, threshold = 2. A complex conditional is an expression inside a branch (e.g. if, for, while) which consists of multiple, logical operators such as AND/OR. The more logical operators in an expression, the more severe the code smell.
Loading