CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main)
failed
Jun 11, 2024 in 37s
CodeScene PR Check
β Code Health Quality Gates: FAILED
- Declining Code Health: 2 findings(s) π©
- Improving Code Health: 1 findings(s) β
Details
π© Declining Code Health (highest to lowest):
- Overall Code Complexity behavior_path_planner_node.cpp
- Complex Method behavior_path_planner_node.cpp: BehaviorPathPlannerNode::takeData
β Improving Code Health:
- Large Method behavior_path_planner_node.cpp: BehaviorPathPlannerNode::BehaviorPathPlannerNode
Annotations
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
β New issue: Complex Method
BehaviorPathPlannerNode::takeData has a cyclomatic complexity of 14, threshold = 9. 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.
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
β No longer an issue: Large Method
BehaviorPathPlannerNode::BehaviorPathPlannerNode is no longer above the threshold for lines of code. Large functions with many lines of code are generally harder to understand and lower the code health. Avoid adding more lines to this function.
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
β New issue: Overall Code Complexity
This module has a mean cyclomatic complexity of 4.95 across 21 functions. The mean complexity threshold is 4. This file has many conditional statements (e.g. if, for, while) across its implementation, leading to lower code health. Avoid adding more conditionals.
Loading