feat(perception_online_evaluator): publish metrics of each object class #6556
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main)
succeeded
Mar 6, 2024 in 43s
CodeScene PR Check
✅ Code Health Quality Gates: OK
- Declining Code Health: 0 findings(s) 🚩
- Improving Code Health: 0 findings(s) ✅
- Affected Hotspots: 0 files(s) 🔥
Recommended Review Level: Detailed -- Increased risk for defects: The risk is higher as much of the code in this repo (99% of all commits) is written by other authors.
View detailed results in CodeScene
Details
Annotations
Check notice on line 1 in evaluator/perception_online_evaluator/src/metrics_calculator.cpp
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
ℹ Getting worse: Overall Code Complexity
The mean cyclomatic complexity increases from 5.12 to 5.29, threshold = 4. This file has many conditional statements (e.g. if, for, while) across its implementation, leading to lower code health. Avoid adding more conditionals.
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
ℹ Getting worse: Code Duplication
introduced similar code in: TEST:EvalTest:testLateralDeviation_deviation0_PEDESTRIAN,TEST:EvalTest:testPredictedPathDeviation_deviation0_PEDESTRIAN,TEST:EvalTest:testYawDeviation_deviation0_PEDESTRIAN. Avoid duplicated, aka copy-pasted, code inside the module. More duplication lowers the code health.
Loading