My build somewhere after 1 may started taken a lot more time with sonar going from 3 minutes to 1 to 5-6 hours if it completes. I have narrowed it down to this rule
Total analyzer execution time: 21996.412 seconds.
NOTE: Elapsed time may be less than analyzer execution time because analyzers can run concurrently.
Time (s) % Analyzer
21971.954 99 SonarAnalyzer.CSharp, Version=7.14.0.0, Culture=neutral, PublicKeyToken=c5b62af9de6d7244
21735.002 98 SonarAnalyzer.Rules.CSharp.UnusedPrivateMember
This seems to coincide with the release of the engine beginning of May - but it could also have to do with the structure of the code.
Versions
==============================================================================
Task : Prepare Analysis Configuration
Description : Prepare SonarCloud analysis configuration
Version : 1.6.0
Author : sonarsource
Help : [More Information](http://redirect.sonarsource.com/doc/install-configure-scanner-tfs-ts.html)
==============================================================================
SYSTEMVSSCONNECTION exists true
[command]C:\ag2\_w\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.6.0\classic-sonar-scanner-msbuild\SonarScanner.MSBuild.exe begin /k:* /o:*
SonarScanner for MSBuild 4.6
Using the .NET Framework version of the Scanner for MSBuild
Pre-processing started.
Preparing working directories...
19:50:24.339 19:50:24.327 Loading analysis properties from C:\ag2\_w\_tasks\SonarCloudPrepare_14d9cde6-c1da-4d55-aa01-2965cd301255\1.6.0\classic-sonar-scanner-msbuild\SonarQube.Analysis.xml
19:50:25.23 Processing plugin: csharp version 7.14.0.8411
19:50:25.418 Processing plugin: vbnet version 7.14.0.8411
19:50:25.418 Processing plugin: securitycsharpfrontend version 7.8.0.4451
Environment build tasks for azure devops, yaml pipeline, dotnet core 2.2 code base.
Anyone else seen this dramatic change?