Questions tagged [sonarqube-5.4]

This is the SonarQube 5.4.x specific tag. Use it in addition to the sonarqube tag if your question is specific to SonarQube 5.4.x — not just 5.x.

SonarQube (formerly Sonar) is a quality management platform focusing on continuous analysis of source code quality.

Information

This tag is specific for the 5.4 version of SonarQube, which was released on the 8th March 2016. See the tag for general SonarQube questions.

Notable changes:

  • New “My Account” space to collect all your data in once place
  • “Execute Analysis” permission can now be granted at the project level
  • OAuth2 support
  • New “Code” page to list and search for the files in your project
  • Server restart from the UI
  • JavaScript and C# plugins embedded by default
  • Cross-module duplication is back!
36 questions
5
votes
0 answers

Sonarqube 5.4 - How to get a list of all rules violated against a project?

May be this is something very straightforward but I'm struggling to find how can I get a list of all failed rules (not issues) against a project. Currently when I go to the Issues tab for a project and click on "Rules" filter, it only shows 15 rules…
sumit
  • 211
  • 2
  • 7
2
votes
1 answer

Incompatibility:org.codehaus.plexus. .exception.ComponentLookupException

When I tried to run mvn sonar:sonar command on my project often I'm getting below error: [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:3.2:sonar (default-c li) on project ProjectName: Execution default-cli of goal…
2
votes
1 answer

How can I ensure that the right bytecode is available to my custom sonar plugin rule, so I don't get !unknown! for every type?

I've been attempting to write a custom rules plugin for Sonarqube ~5.4, and while I've gotten a few rules implemented and working, the ones that rely on types outside the standard libraries rely on various kinds of acrobatic string matching. I'm…
tzrlk
  • 608
  • 1
  • 9
  • 26
2
votes
1 answer

SonarQube 5.4 background tasks failing with NullPointerException on Java file

I'm using SonarQube 5.4 (running under JRE 1.8.0_77 on Linux x86_64) to analyze a Java project. Recently I started getting this error... any help on how to resolve it would be most welcome. Thanks! 2016.06.28 16:48:48 ERROR…
2
votes
1 answer

How to execute MSBuild.SonarQube.Runner for a .net solution which has multiple projects?

I have setup SonarQube with the following: sonarqube-5.4, MSBuild.SonarQube.Runner-2.0, VS 2013 (target .NET Framework 4.5.1), SQL Server 2014 Express, Windows 7 Professional SP1 64-bit OS. I am able to execute sonarqube runner for one .NET project…
Bhanu
  • 343
  • 6
  • 17
2
votes
1 answer

Quality Gate periods (SonarQube 5.4)

We want to upgrade our SonarQube Server from the 5.0 version to the current 5.4. We imported our Quality Profiles, and had to set the Quality Gates manually (we found no way to do that automatically). Now I have the problem, that i cant use the…
Dudei95
  • 200
  • 2
  • 14
2
votes
0 answers

sonarqube v5.4 analysis failed on WARN messages

My cobertura coverage on sonarqube v4.5.6 with runner-2.4, and 2.5.1 has some warning "WARN-File not found:" but the sonar analysis complete successfully. However, when the same job run on sonarqube v5.4 with same runner versions, the sonar analysis…
Champa Chế
  • 73
  • 1
  • 7
2
votes
1 answer

How to secure SonarQube 5.4?

I'd like to configure SonarQube so that developers can generate an HTML report locally (in 'issues' mode), but not be able to publish reports on the SonarQube server (in 'publish' mode). Instead, I'd like the CI server to be the only system with…
Martin Ellis
  • 9,263
  • 39
  • 53
1
vote
2 answers

SonarQube Serve not starting: StartSonar.bat

Iam trying run StartSonar.bat from command line in order to start sonar serve but its giving me below exception. It seems to related to memory issue or Java version issue but iam unable to find the root cause. Appreciate any help on this. Sonarqube…
1
vote
1 answer

Package Cycle Metric with the File Design widget in SonarQube 5.4

We updated our SonarQube from 5.0 to 5.4, and now i want to add the "File Design" widget to our dashboard, but i cant find it under the widget list. Was the widget removed from the standard widget list? I cant find any information about it.
Dudei95
  • 200
  • 2
  • 14
1
vote
1 answer

SonarQube 5.4 - StartSonar.bat - OutOfMemoryError: Java heap space

I am trying to run StartSonar.bat in my machine, facing the below error, it was working previously when I was using 1.7x version of java. Error Message Wrapper Started as Console Launching a JVM... Wrapper (Version 3.2.3)…
ahly212
  • 96
  • 1
  • 9
1
vote
0 answers

Sonar Qube method level coverage percentage

Any change in a class ( legacy code ) is considered as a new code in class level and sonar is showing less coverage even though if I have covered unit test case for a newly added method . Any way or configuration to tweak sonar dashboard to show…
vijay
  • 11
  • 1
1
vote
1 answer

Sonar Qube Java Custom Rules Template plugin not working

I want to add custom rules to my SonarQube installation 5.4. Therefore I've downloaded the Java Test Plugin from "https://github.com/SonarSource/sonar-examples/tree/master/plugins/java-custom-rules" without any modification to the code. I've…
1
vote
1 answer

Difference between shown issues and value in UI

We've got an strange issue. For doing branch reintegration we first analysed the base branch and then the branch to reintegrate on the same project key but different versions. After having both results we have a strange result. The dashboard shows a…
The_Gentleman
  • 975
  • 1
  • 9
  • 18
1
vote
1 answer

How to manage this scenario with SonarLint? Differential analysis for changes of a branch

We are writing software using heavy branching. With Eclipse-Sonar plugin we did analyse our branches before reintegration to the base branch. Here we analysed the new issues for the legacy base branch. The reintegration was only able to start when…
The_Gentleman
  • 975
  • 1
  • 9
  • 18
1
2 3