SonarLint & SonarQube implementation in your Project


SonarQube:

SonarQube is very strong tool available for Code review.
How to integrate the   plugin into your Development studio, ie. Eclipse or STS.


Go to, Eclipse -> Help -> Install New Software->

And enter there  “http://downloads.sonarsource.com/eclipse/eclipse/”


Checking the code ceoverage:

Go to SonarQube view - >


SonarLInt:



Then Run the GREEN ALAYZE on SonarQube(that will be for SonarLint):->



Sometimes you might get SonarQube errors indicating you to change the code, which you might not want to do because of any reason. Then you can write //NOSONAR next to the line.
This will discard the block  or the line where you write this comment.


Comments

Popular posts from this blog

Java

RTC - Repository : How to Revert Back the Changes