Friday, November 1, 2019

Code Analysis using SonarScanner on Windows 10

In my previous blog, we have already seen how to setup SonarQube server on Windows 10. In this blog, I’ll show you how to generate sonar report using SonarScanner. 

Step to setup SonarQube


  • Unzip it and open sonar-scanner.properties which are under conf directory.
  • Edit the below lines

  • Now, go to your project folder directory, open command prompt and run sonar-scanner.bat.

  • It will do the analysis and then post the result to the SonarQube server http://locathost:9000/ having the project name as sonar key that we have configured in sonar-scanner.properties file.


  • You can check the JUnit test code coverage as well by clicking on Coverage.

Happy Coding..!!!

1 comment:

  1. You can be somebody who’s really good at sales and connecting with other folks. I’ve been writing for industrial manufacturing since 2008 and worked with a trade publication for many of my career. Start your RFPBrowse our Buyers Guide to find out|to search out} suppliers of all kinds of meeting know-how, machines and methods, service providers and trade organizations. Hiring Fast Radius for the project helped HT eliminate the upfront value of injection molding tooling and trials for its automotive buyer. best bicycle helmets 2022 HT also saved practically two months in project lead time and practically $1 million in total project costs.

    ReplyDelete