Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [sonarqube]

SonarQube (formerly Sonar) is an open source platform for continuous inspection of code quality

0
votes
0answers
29 views

Overview per team on same project in SonarQube

We have 3 teams working on the same project. Is there a way see last 7 days measure or overview of rough code quality of just a subset of authors? On the "Issue" tab I can add a filter for authors ...
0
votes
0answers
18 views

How to activate rules in SonarQube which are listed only in pmd.xml in maven project

For the SonarQube report, I have listed some rule sets in the pom.xml file in a maven project, I need to deactivate all rules in sonarQube and need to generate the SonarQube report only for listed ...
1
vote
0answers
150 views

Does SonarQube accepts SoapUi test reports?

I have an API Java project with somes development tools : Maven for build Gitlab for CICD SonarQube for unit test code coverage and quality code tests (using sonar-maven-plugin plugin and mvn sonar:...
0
votes
0answers
43 views

What is the different between sonar analysis for without building a .net project and with building a .net project

Different between sonar analysis for without building a .net project. Just only the .cs files as it is? And do the sonar analysis for the same project after building the project using MSBuild sonar ...
1
vote
2answers
75 views

What are important rules of static analysis to use in our automated scripts?

I am fan of improving the quality not only of the product I test but also for the test itself. I want to create other customized rules for integrating with sonarqube that does not exist in classic ...
2
votes
0answers
315 views

SonarQube: Auto assign issues doesn't work

Currently, I have an integration between GIT, Jenkins and SonarQube as described in this pseudo workflow: commit----> AWS CodeCommit (GIT) <-> Jenkins <-> SonarQube Scanner for Maven &...
4
votes
3answers
274 views

Can code coverage be used for Java tests that work against a Python code base?

Development stack is in Python (flask) and our automation suite(API) is coded in Java. Can we do code coverage and if Yes, which plugin to use?
1
vote
0answers
333 views

Cobertura analysis reporting “[ERROR] SLF4J: Class path contains multiple SLF4J bindings.”

Cobertura is reporting that there are multiple SLF4J bindings in the classpath, actually both related to different versions of the logback-classic artifact: [ERROR] SLF4J: Class path contains ...
1
vote
1answer
1k views

SonarQube: Close this “PreparedStatement” in a “finally” clause (dealing with false positives)

Every now and then we come across with some Sonarqube reported issues that seem (at least to us) as false positives. For example when using a Spring JdbcTemplate to execute an update: @Autowired ...
1
vote
1answer
447 views

Correlating assignees with authors in SonarQube

I'm aware that assignees are the effective SonarQube uses that I've created on the platform, but authors come from SCM commit data. The question I need to solve comes from the fact that I'm seeing ...
1
vote
0answers
30 views

Tracking SonarQube users (asignees) issues evolution

Is it possible to get some kind of report of the evolution in time of issues (gross number) assigned to each user of the system? I'd like to track my team members and evaluate them based on wherever ...
3
votes
1answer
765 views

Jenkins: failing builds on warnings

I've been reading the book "Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment Automation (Addison-Wesley Signature Series (Fowler))" And these paragraphs drew my ...
1
vote
1answer
680 views

com.sonarsource.A.A.B.A: No license for swift Error on sonar [closed]

I was scanning a swift project on my sonar server.And at the end of the scan I got this error. com.sonarsource.A.A.B.A: No license for swift All the other .Net and Java projects are working fine. ...
4
votes
1answer
220 views

Unable to see Settings & Administrator tab on SonarQube dashboard

Environment - Mac I have configured SonarQube earlier, after that various other configuration might removed my admin user or something happen. But today I am not able to access my admin account/user. ...
1
vote
1answer
184 views

Sonarqube Custom rule [closed]

I have a php code to check using sonarqube. I got how to create a new rule. I don't know hot to set rule for the php code. What should I do ?
7
votes
3answers
10k views

How to deactivate a rule in SonarQube?

I want to deactivate a particular rule. I am checking my php code. Eg: This branch's code block is the same as the block for the branch This is the rule I deactivate I go through quality profile-->...
-1
votes
1answer
805 views

How to close the bug on sonarqube?

I have some doubts related on sonarqube. Anyone please help me.. First of all I want to know about snoarqube working flow. and I think the important part is quality profile, quality gates and issues ...
0
votes
1answer
56 views

Sonarube custom configuration [closed]

Currently I am checking PHP code. I have found lot of bugs in Replace or with '||'. Add a 'favicon' declaration in this 'header' tag Are there any options to configure or customize what level we ...
1
vote
2answers
357 views

Mutliple users can access sonarqube

I am doing static code analysis. And I using with sonarqube. Currently I am login as a administrator. Is it possible to access mutliple users login? I want to report the code anaysis to my team ...
3
votes
0answers
2k views

Sonar-runner Execution Failure [closed]

Currently, I'm using sonarqube to analyse my code. I am trying my project to run in sonar-runner, but its getting execution failure. I'm running in a dirtectory. Like my project located in cd /var/...
4
votes
2answers
210 views

I want to know working of sonarqube

I install both SonarQube and sonar-runner. And I want to know how to start working. My project uses PHP language. So I want to check the code analysis of my project. But how to get started working? ...
0
votes
2answers
7k views

sonarqube server is not working

I'm doing static code analysis with sonarqube, but installion was failed. when i type on browser http://localhost:9000/sonar. This site can’t be reached localhost refused to connect. ...
1
vote
1answer
459 views

Cobertura integration (for reports) should be integrated in Jenkins or SonarQube? [closed]

I would like to integrate Cobertura in order to have reports for each build but I do not know what is the best place to integrated it. Cobertura integration (for reports) should be integrated in ...
2
votes
2answers
538 views

Validate Quality Cobol code - Jenkins, Sonarqube/SonarLint and Rational/Topaz?

In my work as a tester I was asked to find a solution to validate the quality of Cobol code. For that I was asked to investigate Jenkins, Sonarqube/SonarLint and Rational/Topaz. Starting point - I ...
1
vote
1answer
68 views

Judge the project rating sonarQube [closed]

I did install sonarQube and performed a project evaluation. The fact is, sonarQube gave me a global note (A) and percentages, like duplication of code %, comment %... My question is, what is a good ...