For C# code profiling

csharp
sonarlint

(Epk) #1

Hi ,

I’m using BDD specflow(c#) for an automation testing and i want to do code profiling in my automation framework codes,.
So i came to know about Sonarqube is the good one, but i see SonarLint plug-in in sonarqube site (https://www.sonarsource.com/products/codeanalyzers/sonarcsharp.html#_) ,
What is the difference between these two, and will it do analysis on my specrun code(which is written by c# language)
we do have only c# code (no any other codes like java scripts and all)
Thanks in advance,


(Andrei Epure) #2

Hi @Elangopalakrishnan

SonarLint lives only in the IDE (IntelliJ, Eclipse and Visual Studio). Its purpose is to give instantaneous feedback as you type your code. For this, it concentrates on what code you are adding or updating.

SonarQube is a central server that processes full analyses (triggered by the various SonarQube Scanners). Its purpose is to give a 360° vision of the quality of your code base. For this, it analyzes all the source lines of your project on a regular basis.

Both SonarLint and SonarQube rely on the same static source code analyzers - most of them being written using SonarSource technology.

SonarLint is used by individual developers, while SonarQube is used by teams.