EPIC: SonarCloud error reduction #9878
Labels
enhancement
New feature or request
sonar-cloud-error-reduction
all items related to reduce the number of errors in SonarCloud
Short description
Current status of the overall issues and errors detected by the SonarCloud instance running on the Uyuni project (https://sonarcloud.io/project/overview?id=uyuni-project_uyuni) shows more than 7000 issues/errors.
With this number of issues, the usability of the tool becomes much less effective.
The overall idea is to tackle the problems to reduce them over time at a manageable number, so that any issue due to new code can be immediately spotted.
How to tackle the problem
A possible approach should be "one slice at a time". Here below are some proposed steps after a first analysis:
It is worth fixing the last 3 languages at the start, and we should focus on tackling the Java issues as first step.
These 11 rules should be put under public discussion and a poll for removal should be issued. The rules that receive the majority of votes to be removed, will be deactivated on SonarCloud analysis for Uyuni.
Analysis by rule/removal candidate/good first issue
A spreadsheet with a first analysis of the affected rules, classified by number of issues, rule, removal candidate, good first issue, can be downloaded here: #9881
Polls and discussions on potential removal candidate rules:
Issues and PRs fixing SonarCloud errors
#9884 SonarCloud error reduction: HTML issues
#9885 SonarCloud security hotspot fix: using https instead of http
The text was updated successfully, but these errors were encountered: