Questions tagged [sonarqube5.1.2]

version 5.1.2 of Sonarqube

SonarQube 5.1.2 – Jul. 27, 2015

New overall layout, merge Issues Drilldown with Issues page, tags of issues, auto-assignment of issues, “won’t fix” issues, issues report as a core feature, new Rules page, more efficient Component Viewer, possibility to import all files, timezone issue fixed, SonarQube binaries compatible with Java 1.7+ only

Docs

27 questions
15
votes
3 answers

“Class Not Found” during SonarQube analyse

I have many errors with sonarqube analyse in the Jenkins job with the analyse success [ERROR] [14:36:44.124] Class not found: org.joda.convert.FromString [ERROR] [14:36:44.126] Class not found: org.joda.convert.ToString [ERROR] [14:34:42.441] Class…
Inforedaster
  • 1,260
  • 1
  • 23
  • 39
9
votes
2 answers

Sonar Methods should not be empty at the constructor

I updated my Sonar to Version 5.1.2, and the issue Methods should not be empty appears on this code: public User() {} public User (String login) { this.login = login; } It seems to be a bug. Am I right? Because this didn't happen before.
Ismael G.
  • 378
  • 1
  • 2
  • 10
3
votes
0 answers

SONAR : Anonymous class | squid:S2176

I see SonarQube throwing squid:S2176("Class names should not shadow interfaces or superclasses") when I create anonymous inner class instances. I'm a bit surprised by this and more so, when I didn't find any discussion related to this. Could…
prefetcher
  • 63
  • 6
3
votes
1 answer

How to use incremental mode in SonarQube?

I've trying to fiddle with SonarQube and now I'm learning about the incremental mode. In my understanding it should analyze only the changed files. So my first test is just to run SonarQube twice on our project without any change. I run SonarQube…
Mark Bramnik
  • 39,963
  • 4
  • 57
  • 97
2
votes
1 answer

Unable to deactivate a particular rule -- Quality profile not found

When trying to deactivate common-java:InsufficientBranchCoverage I'm getting an error: Quality profile not found: java-sonar-way-03260 Nothing appears in the logs. I can deactivate other rules without problem but this one just gives an…
Jakub Bochenski
  • 3,113
  • 4
  • 33
  • 61
2
votes
1 answer

Sonarqube : Can not see quality gate widget on dashboards

I'm using sonar 5.1.2. I created a simple quality gate and associated it to my project. Then I went on the main dashboard and added the Quality Gate widget, configured it for my project, and then saved. Note, on the dashboard edition page (where you…
baraber
  • 3,296
  • 27
  • 46
2
votes
1 answer

How to activate Java Properties Plugin during the Maven JAR project analysis?

I have a few Maven projects with packaging equal to JAR (example: EasyBundle). Unfortunately I cannot see Java Properties Plugin Quality Profile at project dashboard after analysis: My project contains *.properties files in src/test/resources (see…
agabrys
  • 8,728
  • 3
  • 35
  • 73
2
votes
3 answers

How to exclude/ignore referenced project(s) analysis from SonarQube

I have a solution which has three projects (X,Y,Z). Z referenced in Y , Y in X . When I start Analysis with MSBuild SonarQube Runner on project X, it is analyzing Y and Z as well. Do we have any solution for ignoring recursive analysis ? Note: I…
1
vote
0 answers

Cannot register highlighting rule for XML

I'm running a XML analisys on my code using SonarQube 5.1.2 but getting the following error: Caused by: java.lang.IllegalStateException: Cannot register highlighting rule for characters from 8136 to 8139 as it overlaps at least one existing rule …
Jeyvison
  • 190
  • 1
  • 14
1
vote
0 answers

SonarQube 5.2 and MSBuild Sonar Runner C# - Repository must be set

We are using SonarQube 5.2 and latest MSBuild Sonar Runner C# plugin 4.2 but we are getting the error below whenever we are running the Sonar Runner. Please let me know if there is any specific configuration required. If says "Repository must be…
1
vote
1 answer

SonarQube 5.1.2 fails to recognize relative path for sonar.sources

Below is my directory structure for SonarQube analysis. I was using SonarQube 5.0 with C++ Community plugin version 0.9.4 and sonar-runner 2.4 with sonar.sources=../CheckoutDir1 mentioned in sonar-project.properties file. This was working like a…
Anantha
  • 102
  • 1
  • 7
1
vote
2 answers

SonarQube shows technical debt added and removed but no changes to issues

Using SonarQube 5.1.2 we started with a fresh project, ran analysis twice with no source code changes between the first and second analysis. Then we selected 'changes since previous analysis'. The Issues and Technical debt widget shows Added: 24min…
Dan Saunders
  • 280
  • 2
  • 10
1
vote
0 answers

How to check the coding rules in sonarqube?

I have my project on my computer which is qt-project(.pro file) written in C++, will it read this type of file? I loaded the project on to sonarqube using sonar-runner and using the c++ plugin for languages. The result show the code has no errors…
1
vote
1 answer

SonarQube Execution Failure Cannot find the assembly

I've been searching everywhere for a solution to this error but have not been lucky to find one so far. Would anyone happen to know how to resolve this issue? INFO: ------------------------------------------------------------------------ INFO:…
kaz3320
  • 19
  • 1
  • 6
1
vote
1 answer

Sonarqube 5.1.2 with sonar-runner 2.4 doesnt display Groovy cobertura report

I have the below setup: Sonarqube v5.1.2 Sonar Runner v2.4 Cobertura plugin for Sonarqube v1.6.3 Groovy plugin for Sonarqube v1.2 All are having the latest versions. My project structure is like below: ParentProject |-sonar-project.properties |-…
raVan
  • 296
  • 2
  • 15
1
2