Closed oierlauzi closed 3 weeks ago
@oierlauzi can you review the 11 new issues mentioned by SonarCloud?
Dismissing the remaining SonarCloud issues (either not relevant or C++ version related).
Warnings seem to be solved
I'd take the opportunity to review the SonaCloud rules involved in this PR. Check if they should be dismissed in this situation specifically or if they should be disabled entirely.
That way we can make sure to leave a clean PR + reduce work from the SonarCloud issue management task.
I'd disable all "since-C++xx" rules and dismiss the other 3 specifically for this situation
I have updated the rules in SonarCloud, setting a custom "Mission critical C++11" profile, which is the same we had with a few tweaks:
With the excuse of re-running SonarCloud, I've added a minor fix
In general, I am not using the rule of 0. Instead I'm using the Rule of 5. Maybe there will be lots of warnings related to this.
In general, I am not using the rule of 0. Instead I'm using the Rule of 5. Maybe there will be lots of warnings related to this.
Okay, so I then created a new one extending the default profile, called "Sonar Way C++<=11", where I deactivated all the "since-c++*" rules that are above C++11.
Let's run it again and see what issues remain.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
I'd dismiss the remaining 3 smells
They are not useless, but I think they are out of context.
Adopting the PIMPL idiom in more places to ensure binary compatibility. Also fixing minor warnings