There are two ways to exclude lines from being checked by sonarqube. For one line,
//NOSONAR may be used, for blocks of code, Patterns can be defined. For //NOSONAR, there even is a deactivated rule looking for these lines, creating an issue if found.
Wouldn’t it be nice if sonarqube would just count the number of excluded code lines caused by these two ways during the scanning, and report the result similar to AcceptedIssues? And even more nice, if I could define a threshold for this number causing the Quality Gate to fail?