feat(image_projection_based_fusion): add timekeeper #9632
CodeScene PR Check
β Code Health Quality Gates: FAILED
Change in average Code Health of affected files: -0.01 (7.96 -> 7.95)
- Declining Code Health: 5 findings(s) π©
Details
π© Declining Code Health (highest to lowest):
- Complex Method node.cpp: RoiClusterFusionNode::fuseOnSingleImage
- Complex Method fusion_node.cpp: subCallback
- Complex Method node.cpp: RoiDetectedObjectFusionNode::generateDetectedObjectRoIs
- Complex Method fusion_node.cpp: roiCallback
- Complex Method node.cpp: RoiDetectedObjectFusionNode::fuseObjectsOnImage
Annotations
Check warning on line 187 in perception/autoware_image_projection_based_fusion/src/fusion_node.cpp
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
β Getting worse: Complex Method
subCallback increases in cyclomatic complexity from 19 to 20, 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.
Check warning on line 326 in perception/autoware_image_projection_based_fusion/src/fusion_node.cpp
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
β Getting worse: Complex Method
roiCallback increases in cyclomatic complexity from 9 to 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.
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
βΉ Getting worse: Complex Method
PointPaintingFusionNode::preprocess increases in cyclomatic complexity from 9 to 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.
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
β Getting worse: Complex Method
RoiClusterFusionNode::fuseOnSingleImage increases in cyclomatic complexity from 40 to 41, 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.
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
β Getting worse: Complex Method
RoiDetectedObjectFusionNode::generateDetectedObjectRoIs increases in cyclomatic complexity from 20 to 21, 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.
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
β Getting worse: Complex Method
RoiDetectedObjectFusionNode::fuseObjectsOnImage increases in cyclomatic complexity from 15 to 16, 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.