- which versions are you using (SonarAnalyzer.CSharp 9.3.0.71466)
Hi, I was wondering if you have or know of a list of rules that are duplicated between sonar and other analyzers like Microsoft.CodeAnalysis.NetAnalyzers, for example S1481 exist in NetAnalyzers as the rule CS0168.
I ask because our building times are getting very slow and I want to disable rules that are unnecessary because are validated for another rule.
This is an example of the times we are seeing during build
Analyzer Report
Total analyzer execution time: 31.154 seconds.
Time (s) % Analyzer
20.252 65 SonarAnalyzer.CSharp, Version=9.3.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244
9.443 30 SonarAnalyzer.Rules.CSharp.SymbolicExecutionRunner (S1944, S2053, S2222, S2259, S2583, S2589, S3329, S3655, S3900, S3949, S3966, S4158, S5773)
3.522 11 SonarAnalyzer.Rules.CSharp.VariableUnused (S1481)
0.974 3 SonarAnalyzer.Rules.CSharp.DeadStores (S1854)
4.774 15 Microsoft.CodeAnalysis.NetAnalyzers, Version=7.0.8.26701, Culture=neutral, PublicKeyToken=31bf3856ad364e35
1.608 5 Microsoft.NetCore.Analyzers.Runtime.DisposeObjectsBeforeLosingScope (CA2000)
1.016 3 Microsoft.CodeQuality.Analyzers.Maintainability.AvoidDeadConditionalCode (CA1508)
0.172 <1 Microsoft.NetCore.Analyzers.Data.ReviewSqlQueriesForSecurityVulnerabilities (CA2100)
Thanks
Juan Zamudio