Reduce code smells in Sonarqube
In #1593 (closed), some work has been made so that Sonarqube output doesn't feature thousands of code smells and hundreds of days of work to solve them all.
Following this, we reached a much more manageable ~ 180 code smells that are confirmed.
Of course, the ultimate goal is for this number to reach 0.
So current ticket is intended as an ongoing issue to solve them all; the idea is to fix few of them each week.