Questions tagged [sonarqube-web]

232 questions
0
votes
1 answer

SonarQube custom plugin, failing on startup

I am developing a custom SonarQube plugin to create a project specific ruleset. Custom rule has been written and the rule is successfully executing using a JUnit. Below is the custom sonarqube rule. @Rule(key =…
Suraj
  • 132
  • 1
  • 1
  • 9
0
votes
1 answer

How can I access to number of blocker and critical issues for each sonarqube analysis?

I saw in the sonar time machine that it was possible to see for each analysis the number of blocker and critical issues, but I didn't find where these metrics are stocked and how to retrieve them one by one externally with a Java program.
Kamal ALLALI
  • 59
  • 1
  • 13
0
votes
0 answers

Strange issue with SonarQube issues listing

I'm facing a strange issue where developers don't see anything when clicking on "Issues" on their project (it was working before and suddenly stopped working). The dashboard shows issues (ie: 11 issues), but when they click on the desired metric,…
Charles Morin
  • 1,449
  • 4
  • 32
  • 50
0
votes
2 answers

Sonarqube 6 issues view shows limited results

Sonarqube issues view shows only violations against top 15 rules, Is there a way I could see a list of all rules with issues count. Both ProjectIssueFilter and IssueFilter show only 15 issues in the view. The filter shows this message "Only the…
Nimesh
  • 11
  • 2
0
votes
1 answer

Can anyone help me in exporting Sonarqube rules which are Inactive using Web API?

I'm currently using SonarQube v5.6 and I'm trying to export the list of the rules that are inactive. We can take "BackUp" of the rules that are active through the UI, but I'm trying to do this using Web API supported by Sonarqube on command line. …
0
votes
0 answers

SonarQube - Some configuration tabs are rendered as empty

I'v tried both 5.6.2 and 6.0 but the following configuration tabs are always rendered as empty pages: * General -> Email * Licenses * Security -> Encryption The one I actual need is the email settings, I cannot configure notifications. I don't see…
0
votes
1 answer

Is interaction between a widget plugin and SonarQube server to do analysis possible?

Specifically, I want to run some analysis on the issues generated and rules violated. So I want to design the system to have a few click actions in the web interface of sonar and initiate the analysis in the back-end. The reason for this is that the…
Dhruvan Ganesh
  • 1,502
  • 1
  • 18
  • 30
0
votes
1 answer

SonarQube projects pass Quality Gate when there is no data?

I'm using SonarQube 5.4 and I noticed that when a metric, which is used to calculate the Quality Gate status, is missing then that is handled in the same way as if the criteria was met. Isn't it more intuitive that the Quality Gate fails if there is…
Alix
  • 2,630
  • 30
  • 72
0
votes
1 answer

SonarQube 5.4: How to define dashboard (or filter) for a particular subset of my projects?

Our enterprise is very large (~100 projects), and divided up into teams (~10 to 20 projects per team). Assume that the teams have names like "Alpha", "Bravo", "Charlie", etc. I'd like to create a dashboard with a "Measure Filter as List" widget…
0
votes
1 answer

SonarQube 5.5 API - componentKey convention

I'm trying to extract coverage data from our SonarQube instance using the 'api/measures/component' endpoint. This is for a multi module java project. Using POSTMAN i can query for a single java file using a 'componentKey' which is build up of string…
emeraldjava
  • 10,894
  • 26
  • 97
  • 170
0
votes
2 answers

Rules created via plugin are not active in Quality Profile

I am testing the creating of a Sonarqube plugin for a custom language. I followed Sonar's examples (https://github.com/SonarSource/sonar-examples/tree/master/plugins/sonar-example-plugin/src/main/java/org/sonarsource/plugins/example) and I have…
ciberg
  • 73
  • 1
  • 7
0
votes
1 answer

Sonarqube Error when activating rules in new Quality Profile

I'm using SonarQube server version 5.6.1 in docker. I have correctly configured the default Quality Profiles but now when trying to activate existing rules in a new Quality profile, the application throws the following error in the log: ERROR…
guilleHeuer
  • 215
  • 1
  • 3
  • 9
0
votes
1 answer

Relationship between overwall SQALE Rating calculation and the technical debts?

Sorry if this is a simple question... We noticed that we are getting SQALE rating = A for most of our projects, which raise concerns from the dev team. For some projects, we noticed that most modules are given technical debts = B, or C but not > B,…
void
  • 345
  • 3
  • 13
0
votes
1 answer

Save 'compare project' view

I'm trying to save compare view for few projects, to avoid clicking through to get it for all of them over and over again. Can this be done? Freshly pulled SonarQube, 5.6.1. Documentation and my own research so far proved fruitless to point to any…
0
votes
1 answer

How can I get the numeric value of metric in SonarQube?

How can I get the numeric value of a metric in SonarQube? For example: <%= format_measure('ncloc') -%> will display the number of lines of code. But I need to get the value (number of lines) in some variable to process further. Thanks in advance.
Sarker
  • 922
  • 7
  • 16