C++ overall quality improvement
Correct code according to cppcheck report and correct code form according to sonar report.
Priority
-
Avoid shadow variable declaration -
Avoid truncated value cast -
Rewrite confusing if code -
Use var instead of magic number -
Check the use of quit()in python when there is a exception. It is not a good way to manage exception or it should be documented
Other
-
Add comments -
Remove dead code (commented or unused) -
Unify tab and space indentation. Please use space, tab indentation is awful and should be left to 20th century
All analysis are joint to this issue 2024-10-15-DIAPOTB-C-analysis-report.docx
Edited by Tristan Laurent