Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(perception_online_evaluator): publish metrics of each object class #6556

Merged

feat(perception_online_evaluator): publish metrics of each object class

713dfec
Select commit
Loading
Failed to load commit list.
Merged

feat(perception_online_evaluator): publish metrics of each object class #6556

feat(perception_online_evaluator): publish metrics of each object class
713dfec
Select commit
Loading
Failed to load commit list.
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

See this annotation in the file changed.

@codescene-delta-analysis 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.

Check notice on line 354 in evaluator/perception_online_evaluator/test/test_perception_online_evaluator_node.cpp

See this annotation in the file changed.

@codescene-delta-analysis 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.