Skip to main content

All Questions

Filter by
Sorted by
Tagged with
3 votes
2 answers
2k views

Can I deactivate a Sonar Qube rule just for test classes?

I want to apply different SonarQube rules for production and test code. For example: squid : S1192: "String literals should not be duplicated". It is quite reasonable in production but for test code ...
borjab's user avatar
  • 155
1 vote
2 answers
107 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 ...
Emna Ayadi's user avatar
34 votes
3 answers
65k 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-->...
user avatar
3 votes
2 answers
321 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? ...
user avatar
1 vote
1 answer
91 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 ...
Orelsanpls's user avatar