Skip to content

style(pre-commit): autofix

CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main) succeeded Oct 9, 2024 in 1m 10s

CodeScene PR Check

Code Health Quality Gates: OK

Change in average Code Health of affected files: +0.00 (6.96 -> 6.97)

View detailed results in CodeScene

Absence of Expected Change Pattern

  • autoware.universe/evaluator/perception_online_evaluator/src/metrics_calculator.cpp is usually changed with: autoware.universe/evaluator/perception_online_evaluator/test/test_perception_online_evaluator_node.cpp

Details

Annotations

Check notice on line 204 in perception/autoware_object_merger/src/object_association_merger_node.cpp

See this annotation in the file changed.

@codescene-delta-analysis codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)

ℹ Getting worse: Complex Method

ObjectAssociationMergerNode::objectsCallback already has high cyclomatic complexity, and now it increases in Lines of Code from 91 to 93. 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.