CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main)
succeeded
Feb 1, 2024 in 43s
CodeScene PR Check
β Code Health Quality Gates: OK
- Declining Code Health: 0 findings(s) π©
- Improving Code Health: 3 findings(s) β
- Affected Hotspots: 1 files(s) π₯
Recommended Review Level: Lightweight sanity check
View detailed results in CodeScene
Details
β Improving Code Health:
- Lines of Code in a Single File scene_intersection.cpp π₯
- Overall Code Complexity scene_intersection.cpp π₯
- Complex Conditional scene_intersection.cpp: reactRTCApprovalByDecisionResult π₯
Annotations
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
β No longer an issue: Complex Conditional
reactRTCApprovalByDecisionResult no longer has a complex conditional. A complex conditional is an expression inside a branch (e.g. if, for, while) which consists of multiple, logical operators such as AND/OR. The more logical operators in an expression, the more severe the code smell.
Check notice on line 1 in planning/behavior_velocity_intersection_module/src/scene_intersection.cpp
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
β Getting better: Lines of Code in a Single File
The lines of code decreases from 1108 to 1106, improve code health by reducing it to 1000. The number of Lines of Code in a single file. More Lines of Code lowers the code health.
Check notice on line 1 in planning/behavior_velocity_intersection_module/src/scene_intersection.cpp
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
β Getting better: Overall Code Complexity
The mean cyclomatic complexity decreases from 4.64 to 4.42, 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.
Loading