Questions tagged [sonarqube-web]

232 questions
0
votes
1 answer

SonarQube FileSystem.inputFile returns null on indexed file access

I'm developing a plugin for SonarQube 5.6 and having trouble creating the Issuable object because of the InputFile object. At sensor's execution I can see all the files indexed (by iterating) with the call Iterator files =…
jonypera
  • 446
  • 2
  • 13
  • 23
0
votes
1 answer

Translations for SonarQube Platform

I have installed the plug-in French Pack, but when I restart the SonarQube server, I have no changes, my SonarQube is always in English. How passing all my SonarQube in French ? If I create my own SonarQube widget, if I use the plug-in French…
MickKOZA74
  • 51
  • 7
0
votes
1 answer

What is the sonar database Query for get Information

I am trying to generate a monthly report base on below factor For de last run build of code. The information i Need is this: Cyclomatic complexity Value Name Of Proyect ID Proyect Name Of the File resource Date My query is this one: i have a…
Gaston Paolo
  • 138
  • 1
  • 9
0
votes
1 answer

How to display metric value on sonarqube dashboard?

Is it possible to display the metrics value on the sonarqube dashboard directly through html.erb file? One of my metric is Rank Can I just write <%= format_measure('Rank') %> to display on the dashboard? This donot print anything on dashboard.
0
votes
1 answer

SonarQube create a dynamical dashboard

I want to know if somebody know if it possible to create a dynamical dashboard. By dynamical, I want to say, a dashboard that displays the different widgets depending on the results that have changed from the previous execution . For example, if the…
MickKOZA74
  • 51
  • 7
0
votes
1 answer

Restoring builtin profile does not work

I'm working with SonarQube 5.5. I'm trying to restore the factory configuration of the Java "Sonar way" profile in SonarQube (after playing a bit with the configuration, I'd like to reset my changes). I'm using the button in Quality Profile ->…
spi
  • 626
  • 4
  • 19
0
votes
0 answers

Configure time period/interval for SonarQube history diagram

It looks SonarQube's "History" diagram is always configured for about a two-month period. I'd like to produce a diagram that shows decreasing technical debt for a specific time period that correlates with a certain clean-up initiative? How can I…
raner
  • 1,175
  • 1
  • 11
  • 21
0
votes
0 answers

Sonar plugin display java information in my own page

I'm developping a sonar plugin who retrieve information from the database in Java. I want to display these information in my own page. I saw in Sonar 4.2 that I can create my own web Service in java. So it's perfect because I create my own…
Hijh4ck
  • 11
  • 3
0
votes
1 answer

generating/emailing reports on analysis update on sonarqube

I am not able to find any plugin which can help in sending custom reports every time a sonar analysis. I see one PDF reports plugin which is paid. is there any free/opensource plugin to send email reports Or is there a command line way to send…
sam-xor
  • 102
  • 1
  • 7
0
votes
1 answer

Programatically launching SonarQube runner for integration testing plugins

I'm working on a SonarQube plugin and would like to add some tests that integration test against running servers. I'm launching the servers in docker containers, and would like to then execute sonar analysis against them from within JUnit…
henry
  • 5,923
  • 29
  • 46
0
votes
1 answer

Sonar, one profile for one project

I have different quality profiles and different projects. I would like to assign one profile to one project for example: -quality_profile1 -> project1 -quality_profile2 -> project2 etc. I don't know if it's possible and if it is I can't find where I…
king
  • 507
  • 1
  • 4
  • 17
0
votes
0 answers

How to view SonarQube Unit Test Information

One of our task requirements is being able to view information regarding Visual Studio unit tests (e.g name of test, duration, etc). However, after running the runner and getting the coverage we noticed that we cannot find a way to view them, and…
Ivanov
  • 37
  • 1
  • 4
0
votes
0 answers

How do you access rule tag information in a server side component

If I retrieve a rule with Rule rule = ruleFinder.findByKey(issue.ruleKey()); Then both getTags and getSystemTags returns empty arrays in all circumstances. Is there a way to work round this bug and read tags in a server side component?
henry
  • 5,923
  • 29
  • 46
0
votes
2 answers

RuleFinder.findAll only returns 10 results

If I call ruleFinder.findAll(RuleQuery.create().withRepositoryKey("squid")); Only 10 results are called, despite the fact that the active profile has considerably more than this enabled from the squid repository. Presumably this is an intentional…
henry
  • 5,923
  • 29
  • 46
0
votes
0 answers

Loading project information forever in SonarQube 5.4

When viewing some projects in SonarQube the project overview is not loaded. What could be the reason for this? Shouldn't there be an error message or similar if the project is corrupt in some way? Edit: As per request, the browser error:
Alix
  • 2,630
  • 30
  • 72