hi @ckonca
we don’t have a rule that detects the usage of ExcludeFromCodeCoverage
attribute in the code
however, SonarQube is extensible and you can write a roslyn analyzer that detects this pattern. By default, all issues raised by roslyn analyzers during build will be imported in SonarQube (see docs)