feat(autoware_detected_object_validation): set validate distance in the obstacle pointcloud based validator #9663
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main)
succeeded
Dec 16, 2024 in 41s
CodeScene PR Check
✅ Code Health Quality Gates: OK
Change in average Code Health of affected files: -0.29 (9.39 -> 9.10)
- Declining Code Health: 1 findings(s) 🚩
Details
🚩 Declining Code Health (highest to lowest):
- Complex Method obstacle_pointcloud_validator.cpp: ObstaclePointCloudBasedValidator::onObjectsAndObstaclePointCloud
Annotations
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
❌ New issue: Complex Method
ObstaclePointCloudBasedValidator::onObjectsAndObstaclePointCloud has a cyclomatic complexity of 10, 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.
Loading