CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main)
succeeded
Nov 30, 2023 in 37s
CodeScene PR Check
β Code Health Quality Gates: OK
- Declining Code Health: 0 findings(s) π©
- Improving Code Health: 2 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 start_planner_module.cpp π₯
- Primitive Obsession safety_check.cpp
Annotations
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
β Getting better: Lines of Code in a Single File
The lines of code decreases from 1035 to 1017, 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.
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
β Getting better: Primitive Obsession
The ratio of primitive types in function arguments decreases from 34.67% to 33.73%, threshold = 30.0%. The functions in this file have too many primitive types (e.g. int, double, float) in their function argument lists. Using many primitive types lead to the code smell Primitive Obsession. Avoid adding more primitive arguments.
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
βΉ New issue: Excess Number of Function Arguments
checkSafetyWithRSS has 8 arguments, threshold = 4. This function has too many arguments, indicating a lack of encapsulation. Avoid adding more arguments.
Loading