Fix issues reported by the static code analysis stage

A static code analysis step was added to the CICD pipeline from this #33 (closed)

The tool is reporting over 300 issues.
We should do the analysis of those issues to:

  • fix most of them
  • filter the false positive
  • filter out the less critical

In order to maintain the project, we should keep the number of reported issue to a low number so that we can efficiently maintains the project and introduce a threshold.
The static code analysis stage could then be used as a code quality gate in code review.