feat(ndt_scan_matcher): detect loss PCD #6735
Closed
CodeScene Delta Analysis / CodeScene Cloud Delta Analysis (main)
succeeded
Apr 5, 2024 in 1m 11s
CodeScene PR Check
✅ Code Health Quality Gates: OK
Details
Annotations
Check notice on line 175 in localization/ndt_scan_matcher/src/map_update_module.cpp
codescene-delta-analysis / CodeScene Cloud Delta Analysis (main)
ℹ Getting worse: Complex Method
MapUpdateModule::update_ndt increases in cyclomatic complexity from 9 to 10, 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.
Loading