test(autoware_behavior_path_planner_common): add tests for calcInterpolatedPoseWithVelocity #8270
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main)
failed
Sep 6, 2024 in 25s
CodeScene PR Check
❌ Code Health Quality Gates: FAILED
Change in average Code Health of affected files: -1.38 (9.56 -> 8.18)
- Declining Code Health: 2 findings(s) 🚩
Details
🚩 Declining Code Health (highest to lowest):
- Large Assertion Blocks test_safety_check.cpp
- Excess Number of Function Arguments test_safety_check.cpp: createPose
Annotations
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
❌ New issue: Excess Number of Function Arguments
createPose has 6 arguments, threshold = 4. This function has too many arguments, indicating a lack of encapsulation. Avoid adding more arguments.
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
❌ New issue: Large Assertion Blocks
The test suite contains 7 assertion blocks with at least 4 assertions, threshold = 4. This test file has several blocks of large, consecutive assert statements. Avoid adding more.
Loading