- which versions are you using (SonarAnalyzer.CSharp 188.8.131.52466)
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=184.108.40.206, 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=220.127.116.11701, 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)