Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SonarQube: No analysis has been performed since creation. The only available section is the configuration

Tags:

sonarqube

I'm a SonarQube newbie. I'm running analysis in eclipse via sonar-eclipse-plugin. But on remote server, it displays:

No analysis has been performed since creation. The only available section is the configuration

How can I see the results of the analysis on the server?

like image 983
Dinesh Panchananam Avatar asked Sep 28 '22 22:09

Dinesh Panchananam


1 Answers

This means that you have provisioned your project to be able to make a local analysis in Eclipse.

  • Local analyses (like what happens in Eclipse) don't push data to the server - they are used to "preview" the quality of your code

  • Regular analyses do push the results to the server. You run such an analysis with Maven, SonarQube Runner, Ant, Gradle, Jenkins, ...

So if you want to see the results inside SonarQube Web application, just a regular analysis. Everything is explained in "Analyzing Source Code" documentation section.

like image 107
Fabrice - SonarSource Team Avatar answered Oct 10 '22 21:10

Fabrice - SonarSource Team