CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main)
succeeded
Dec 11, 2024 in 33s
CodeScene PR Check
β Code Health Quality Gates: OK
Change in average Code Health of affected files: +0.11 (9.29 -> 9.40)
- Declining Code Health: 1 findings(s) π©
- Improving Code Health: 4 findings(s) β
Details
π© Declining Code Health (highest to lowest):
- Complex Conditional non_maximum_suppression.cpp: NonMaximumSuppression::isTargetPairObject
β Improving Code Health:
- Large Method test_nms.cpp: TEST:NonMaximumSuppressionTest:Apply
- Large Method lidar_transfusion_node.cpp: LidarTransfusionNode::LidarTransfusionNode
- Bumpy Road Ahead non_maximum_suppression.cpp: NonMaximumSuppression::generateIoUMatrix
- Deep, Nested Complexity non_maximum_suppression.cpp: NonMaximumSuppression::generateIoUMatrix
Annotations
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
β New issue: Complex Conditional
NonMaximumSuppression::isTargetPairObject has 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.
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
β No longer an issue: Bumpy Road Ahead
NonMaximumSuppression::generateIoUMatrix is no longer above the threshold for logical blocks with deeply nested code
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
β No longer an issue: Deep, Nested Complexity
NonMaximumSuppression::generateIoUMatrix is no longer above the threshold for nested complexity depth
Check notice on line 67 in perception/autoware_lidar_transfusion/src/lidar_transfusion_node.cpp
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
β Getting better: Large Method
LidarTransfusionNode::LidarTransfusionNode decreases from 81 to 78 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.
Check notice on line 26 in perception/autoware_lidar_transfusion/test/test_nms.cpp
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
β Getting better: Large Method
TEST:NonMaximumSuppressionTest:Apply decreases from 82 to 80 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.
Loading