SonarQube is a code-scanning tool that ensures people follow the right coding standard. It detects any memory leaks or unwanted functions that have been written so developers can optimize the code for better performance. We don't know too much about how our customers use SonarQube because we just set it up for them. We show them how the reporting works and what to do to fix common issues.
Tools manager at a tech vendor with 10,001+ employees
It supports 29 languages
Pros and Cons
- "SonarQube is one of the more popular solutions because it supports 29 languages."
- "I would also like SonarQube to be able to write custom scanning rules. More documentation would be helpful as well because some of our guys were struggling with the customization script."
What is our primary use case?
What is most valuable?
SonarQube is one of the more popular solutions because it supports 29 languages.
What needs improvement?
SonarQube supports most database languages, like SQL queries, PL/SQL, etc., but some newer programming languages are not there. For example, it's missing some more popular languages like Apache Groovy. I would like to see some support for scanning these new popular languages.
I would also like SonarQube to be able to write custom scanning rules. More documentation would be helpful as well because some of our guys were struggling with the customization script.
For how long have I used the solution?
I've been using SonarQube for the past eight years or so. I am a DevOps consultant who helps the end-users set up their environments. My clients operate in various industries, including the service industry.
Buyer's Guide
SonarQube Server (formerly SonarQube)
December 2024
Learn what your peers think about SonarQube Server (formerly SonarQube). Get advice and tips from experienced pros sharing their opinions. Updated: December 2024.
831,265 professionals have used our research since 2012.
How was the initial setup?
SonarQube takes five to 10 minutes to install, and I train people on this technology, so I install it for them and teach them how to use it. On Linux, it maybe takes another five or 10 minutes, but it is straightforward.
We first try it out with a limited number of users, so four or five users will run it, but the report is shared with multiple users. The report generated will go to thousands of users. You run the report from the DevOps point of view, then share it with everyone.
What's my experience with pricing, setup cost, and licensing?
I'm involved in the price discussions, so I'm unaware of the cost. However, I don't see any other competitors in the same space. There are one or two, but they're not popular. SonarQube is free for one user, so people can explore it, but if they need enterprise support, they can buy licenses, and we can go forward.
Which other solutions did I evaluate?
SonarQube is the only code scanning software I've tried, but I've also seen Nexus Scanner. However, it's not for binary scanning and so forth. It won't scan your source code. It's just an artifact scanner.
What other advice do I have?
I rate SonarQube eight out of 10. I always recommend SonarQube because it is also available in an open-source version, so people can understand the power of this tool and how it can help in an IT setting.
Which deployment model are you using for this solution?
On-premises
Disclosure: I am a real user, and this review is based on my own experience and opinions.
Senior Security Engineer at a financial services firm with 10,001+ employees
Useful depth features, stable, but more programming languages needed
Pros and Cons
- "The depth features I have found most valuable. You receive a quick comprehensive comparison overview regarding the current release and the last release and what type of depths dependency or duplication should be used. This is going to help you to make a more readable code and have more flexibility for the engineers to understand how things should work when they do not know."
- "If there was an official Docker image of SonarQube that could easily integrate into the pipeline would help the user to plug in and plug out and use it directly without any custom configuration. I am not sure if this is being offered already in an update but it would be very helpful."
What is our primary use case?
We are using SonarQube for many different reasons, but I was interested more in the security metrics based on the new updates for more particular rules.
What is most valuable?
The depth features I have found most valuable. You receive a quick comprehensive comparison overview regarding the current release and the last release and what type of depths dependency or duplication should be used. This is going to help you to make a more readable code and have more flexibility for the engineers to understand how things should work when they do not know.
What needs improvement?
I was more focused on the security aspects and not on quality. SonarQube focuses a lot on security and is going to provide some visibility around that area, but if there could be more focus on team management. For example, what type of remediation is going to be provided when the types of scans are being applied based on different rule sets at the SonarQube level, from the security point of view, this would be helpful.
If there was an official Docker image of SonarQube that could easily integrate into the pipeline would help the user to plug in and plug out and use it directly without any custom configuration. I am not sure if this is being offered already in an update but it would be very helpful.
In an upcoming release of the solution, I would like to see more types of programming languages added and improvement in their SaaS offering to compete better with other enterprise solutions, such as Fortify.
For how long have I used the solution?
I have been using this SonarQube for approximately four years.
What do I think about the stability of the solution?
We are not relying on this solution as a go-to application security scanning tool. We use it for some minor enhancement regarding security, but we are using it actively in other departments for the code quality scanning. I have not had any problems using the solution, it has been stable.
What do I think about the scalability of the solution?
We have approximately 15,000 engineers in my company and many of them are using this solution.
Which other solutions did I evaluate?
I have evaluated Fortify.
What other advice do I have?
I rate SonarQube a six out of ten.
Which deployment model are you using for this solution?
Hybrid Cloud
Disclosure: I am a real user, and this review is based on my own experience and opinions.
Buyer's Guide
SonarQube Server (formerly SonarQube)
December 2024
Learn what your peers think about SonarQube Server (formerly SonarQube). Get advice and tips from experienced pros sharing their opinions. Updated: December 2024.
831,265 professionals have used our research since 2012.
System Analyst // System Architect at a tech services company with 10,001+ employees
Ensures code coverage and reduces vulnerabilities
Pros and Cons
- "The SonarQube dashboard looks great."
- "It would be better if SonarQube provided a good UI for external configuration."
What is our primary use case?
We wanted a coding standard. We used to get coverage using SonarQube, so once the coding coverage was more than 80%, it was only then we could get Jenkins to start the build. Otherwise, Jenkins would fail from the build process. SonarQube is the point at which we confirm the DI. It is in the JUnit test cases where the coverage of the source code was more than 80%.
What is most valuable?
The SonarQube dashboard looks great.
What needs improvement?
Currently, we are doing SonarQube's validations for external configuration via XML. It would be better if SonarQube provided a good UI for external configuration.
For how long have I used the solution?
I've used SonarQube for three and a half years since I started using the product in 2020.
What do I think about the stability of the solution?
I have not faced any issues with stability so far.
What do I think about the scalability of the solution?
If you know how to work with the solution, it is scalable. There should be some methodologies other than JUnit test cases. There should be some other area involving the code. Four or five developers are using SonarQube with JUnit test cases. They used to build in Jenkins because once Jenkins is built and SonarQube's code coverage is more than 80%, the build happens successfully. Otherwise, the build fails.
How are customer service and support?
SonarQube's technical support is good.
How would you rate customer service and support?
Positive
How was the initial setup?
Since I know how to install SonarQube, I had no issues. I don't think the installation is a big challenge because it's a one-time installation process. You wouldn't have to repeatedly install the solution.
The time taken to deploy the solution comes down to microservices.
What other advice do I have?
In the configuration you maintain for the external file used to evaluate the point, the lines should be less than 80 characters long, and the page should have less than 900 lines. The function size should also be split such that the maximum length of one should be less than 30. That's the configuration we are doing with SonarQube. Also, the number of clients we wrote should be covered within the JUnit test cases. When using Mockito for some of the database functionalities like login and authentication, SonarQube will evaluate the test cases passing through it, even when considering Mockito as the data provider for those test cases. And SonarQube covers those test cases.
When it comes to external configuration, even if we're changing the format of one field, that should be accommodated everywhere in the file. Discrepancies there could make it take some time to install the solution. If they had a UI for the setup, that would be good. Though the XML configuration can be tough, it could be automated.
In the Trivandrum team, we do around one to three microservices, like authentication and inventory. Those are two of the main microservices that I handle. The remaining are handled by some other team from Chennai or somewhere. For us, the coverage with microservices is more than 80%. The authentication service and the inventory services have good coverage.
If somebody is looking for good coverage and a good standard code, they should start using SonarQube. When writing the code, they can ensure it is written properly and not missing any code. If there are many lines we are missing or ignoring from the code, there could be cases where vulnerability can happen from those lines. Before you submit any code to any client, you should ensure the code coverage is more than 80% of the application. I rate SonarQube a nine out of ten.
Disclosure: I am a real user, and this review is based on my own experience and opinions.
Software Developer at BKWI
Allows for real-time feedback on code quality and highly stable solution
Pros and Cons
- "We've configured it to run on each commit, providing feedback on our software quality. ]"
- "During the setup process, we only had one issue related to the number of available files. To perform the analysis, you have quite a lot of available file handles, so we had to increase that limit."
What is our primary use case?
We use it to check the code quality of our software.
What is most valuable?
We've configured it to run on each commit, providing feedback on our software quality. The solution works quite well remotely.
What needs improvement?
We would appreciate having PNC checking, though that's only available in a more expensive license type.
There is also room for improvement in the installation process.
For how long have I used the solution?
I have been using this solution for a couple of years.
What do I think about the stability of the solution?
It is a stable solution. So, no issues with stability.
What do I think about the scalability of the solution?
We haven't had much requirement for scalability. We had a single-node instance, and that is sufficient for our needs.
We have around 13 developers using this solution.
Which solution did I use previously and why did I switch?
How was the initial setup?
Another department handled the installation. We only had one issue related to the number of available files. To perform the analysis, you have quite a lot of available file handles, so we had to increase that limit.
However, maintenance is actually quite easy. It requires a couple of people.
Which other solutions did I evaluate?
We used some main code quality tools before, along with certain plugins. SonarQube is better due to its integrated nature and easier management. There is no hassle to keep everything up to date.
What other advice do I have?
I would definitely recommend using the solution.
Overall, I would rate the solution an eight out of ten. While I'm satisfied with the product, there's always room for improvement.
Which deployment model are you using for this solution?
On-premises
Disclosure: I am a real user, and this review is based on my own experience and opinions.
Retail Sales Manager at Pine Labs
An affordable and scalable solution with excellent features
Pros and Cons
- "All the features of the solution are quite good."
- "New plug-ins should be integrated into SonarCloud to give more flexibility to the product."
What is our primary use case?
I use the solution for static code analysis and to identify vulnerabilities and code smells.
What is most valuable?
All the features of the solution are quite good.
What needs improvement?
New plug-ins should be integrated into SonarCloud to give more flexibility to the product.
For how long have I used the solution?
I have been using the solution for the last couple of years.
What do I think about the stability of the solution?
I rate the stability an eight out of ten.
What do I think about the scalability of the solution?
I rate the product’s scalability as an eight out of ten. Currently, not many teams are using the product. We are trying to increase the number of users.
How was the initial setup?
The first time, the initial setup was complicated. It got easier once we got used to it.
What about the implementation team?
The deployment took around one to two hours.
What's my experience with pricing, setup cost, and licensing?
The solution is cheaper than other products.
What other advice do I have?
We have not been able to use the product extensively. I would recommend the solution to others. It'll really help the developers to increase their development speed. Overall, I rate the solution an eight out of ten.
Which deployment model are you using for this solution?
Hybrid Cloud
Disclosure: I am a real user, and this review is based on my own experience and opinions.
Cloud Architecture Head at PagoNxt Merchant Solutions S.L.
Works well with very good integrations and pipelines
Pros and Cons
- "Can tweak rules and feed them into our build pipelines."
- "Currently requires multiple tools, lacking one overall tool."
What is our primary use case?
Our use case of SonarQube is to analyze code quality and to implement quality dates in our build pipelines.
What is most valuable?
The ability to tweak the rules and feed them into our build pipelines so that they can become an integral part of those pipelines is a valuable feature. This product works really well, the integrations and pipelines are good.
What needs improvement?
SonarQube currently requires multiple tools. I'd like to have the ability to use one tool overall.
For how long have I used the solution?
We've been using this solution for a few years.
What do I think about the stability of the solution?
The solution is stable.
What do I think about the scalability of the solution?
The solution is scalable.
What's my experience with pricing, setup cost, and licensing?
We pay a very reasonable, annual licensing fee.
What other advice do I have?
My recommendation is to just go with this out-of-the-box rule set first. Don't try to tweak them and learn what they mean. First learn what the alerts mean and then slowly tweak it to your specific use cases.
Which deployment model are you using for this solution?
On-premises
Disclosure: I am a real user, and this review is based on my own experience and opinions.
Works
Good analysis of code quality, great for even junior developers, and improves a website's look/feel
Pros and Cons
- "We consider it a handy tool that helps to resolve our issues immediately."
- "It should be user-friendly."
What is our primary use case?
I have used it to test clients' websites. After testing, it gives a deep overview of website bugs and issues.
A good point about SonarQube is that it gives you the solutions to resolve your issues. At times, I find the blocker (during times of emergency code deployment) doesn't allow the code to be checked-in to the repository unless the violations are fixed, which should enable the user to bypass the number of lines that should be part of the written method.
How has it helped my organization?
It improved our website's look and feel.
We consider it a handy tool that helps to resolve our issues immediately.
It is a good tool for evaluating technical debt and introducing junior developers to codification standards and good practices. There is an amazing code quality application that defines coding standards.
The tool is pretty much useful for a technical lead to reduce his efforts in reviewing the codes. The tool has integration with several languages.
What is most valuable?
SonarQube is a Code Quality Assurance tool that collects and analyzes source code and provides reports on the code quality of your project. It combines static and dynamic analysis tools and enables quality to be measured continuously over time.
The solution's most valuable features are its:
- Code quality
- Release quality code
- Code security
- Security analysis
SonarQube empowers all developers to write cleaner and safer code. You can grow as a developer.
Integrations Analysis results are right where your code lives.
It works well with GitHub.
What needs improvement?
It should be user-friendly. I keep looking for improvements after every update.
PeerSpot users give SonarQube an average rating of 8 out of 10.
SonarQube is most commonly compared to Checkmarx: SonarQube vs Checkmarx.
The SonarQube brand is trusted by many teams and it has been validated. It is one of the most recommended free application security testing solutions.
SonarQube is really a good tool for SAST with seamless integration to your CI/CD pipeline. We have used it on our website and had good results.
For how long have I used the solution?
I have been using SonarQube 8.9.7 for a long time (since we had some issues in our software dealing with many critical issues that needed to be resolved for clients).
I recommend SonarQube as it is beginner-friendly and can resolve your issues with the proper usage of your website.
What do I think about the stability of the solution?
The dimensional stability of the impression materials depends on the time elapsed between the completion of the impression and their casting, thus storage time is critical to obtaining reliable casts.
How are customer service and support?
Beyond listening, customer service is doing everything in one's power to efficiently and accurately serve each customer.
How would you rate customer service and support?
Positive
Which solution did I use previously and why did I switch?
We did use another solution, however, we found issues such as:
- Ineffective time management
- Lack of instant communication
- Not receiving timely feedback
- Not receiving clear instructions or expectations
- Share time management apps and resources for students
- Utilize educational technology (“EdTech”)
- There's also a need to increase peer review
How was the initial setup?
The solution is easy to do and understand. It's not complicated and it's easy. It's a relatively straightforward process.
What was our ROI?
According to conventional wisdom, an annual ROI of approximately 7% or greater is considered a good ROI for an investment in stocks.
Which deployment model are you using for this solution?
Public Cloud
If public cloud, private cloud, or hybrid cloud, which cloud provider do you use?
Google
Disclosure: I am a real user, and this review is based on my own experience and opinions.
Engineer at a pharma/biotech company with 201-500 employees
Good static code analysis and benchmarking but the library could support more languages
Pros and Cons
- "The most valuable features are the segregation containment and the suspension of product services."
- "I would like to see improvements in defining the quality sets of rules and the quality to ensure code with low-performance does not end up in production."
What is our primary use case?
The primary use case of this solution is for static code analysis, and benchmarking our code standards according to our preferences.
Our builds process through SonarQube and if it passes the required set of requirements we have set, it will then go through to production.
What is most valuable?
The most valuable features are the segregation containment and the suspension of product services. Also, the library that SonarQube covers is good.
What needs improvement?
The library could have more languages that are supported. It would be helpful.
There are a few clauses that are specific to our organization, and it needs to improve. It's the reason that were are evaluating other solutions. It creates the ability for the person who releases the authorized release, which is not good. We would like to be able to expand on our work.
MicroFocus, as an example, would be helping us with that area or creating a dependency tree of the code from where it deployed and branching it into your entire code base. This would be something that is very helpful and has helped in identifying the gaps.
It would be great to have a dependency tree with each line of your code based on an OS top ten plugin that needs to be scanned. For example, a line or branch of code used in a particular site that needs to be branched into my entire codebase, and direct integration with Jira in order to assign that particular root to a developer would be really good.
Automated patching for my library, variable audience, and support for the client in the CICD pipeline is all done with a set of different tools, but it would be nice to have it like a one-stop-shop.
I would like to see improvements in defining the quality sets of rules and the quality to ensure code with low-performance does not end up in production. We would also need the ability to edit those rules.
For how long have I used the solution?
I have been using SonarQube for approximately two years.
What do I think about the stability of the solution?
The stability is good.
The branch advanced analysis pull request declarations, they are good and highly valuable, but they are not part of the free edition. They are only available as part of the licensed one.
What do I think about the scalability of the solution?
Currently, we have 1.2 to 1.5 million lines of code. Certainly, if that increases, so would the costs expediently.
We have 50 developers' licenses.
There is quite a bit of maintenance that is needed. We have a couple of people from our operations team to do the maintaining.
It is integrated with our CICD department and is being used extensively.
We do have plans to increase the usage of SonarQube.
Which solution did I use previously and why did I switch?
We have used open-source origins of the tools.
PCI is an open-source solution that we used before, and we used Snyk as well.
How was the initial setup?
The initial setup is straightforward.
What about the implementation team?
We did not use a vendor team, it was done by us.
What's my experience with pricing, setup cost, and licensing?
The developer edition is based on cost per lines of code.
Which other solutions did I evaluate?
Now we are looking for a more mature solution and evaluating other products. We want a complete code analysis platform that is more mature.
We will either go with the paid Developer active license or solutions such as Checkmarx or MicroFocus.
What other advice do I have?
The community edition is quite informative for engineers. The actual code analysis is not conducted on the GitLab flow, but the build pipeline would show the core quantity steps which is part of the criteria.
The trial gives you a way to implement the POC and check if it can be integrated with your own stack. Once the trial expires, you can continue with the same setup for getting the license.
I would rate this solution a six out of ten.
Which deployment model are you using for this solution?
On-premises
Disclosure: I am a real user, and this review is based on my own experience and opinions.
Buyer's Guide
Download our free SonarQube Server (formerly SonarQube) Report and get advice and tips from experienced pros
sharing their opinions.
Updated: December 2024
Product Categories
Application Security Tools Static Application Security Testing (SAST) Software Development AnalyticsPopular Comparisons
Fortify on Demand
Sonatype Lifecycle
CrowdStrike Falcon Cloud Security
GitHub Advanced Security
PortSwigger Burp Suite Professional
Qualys Web Application Scanning
Buyer's Guide
Download our free SonarQube Server (formerly SonarQube) Report and get advice and tips from experienced pros
sharing their opinions.
Quick Links
Learn More: Questions:
- Is SonarQube the best tool for static analysis?
- Which gives you more for your money - SonarQube or Veracode?
- What Is The Biggest Difference Between Fortify on Demand And SonarQube?
- What is the biggest difference between Checkmarx and SonarQube?
- Checkmarx vs SonarQube; SonarQube interoperability with Checkmarx or Veracode
- How does SonarQube instance relate to the license?
- Which software is ideal for code quality and security?
- What is the difference between Coverity and SonarQube?
- What is the biggest difference between Coverity and SonarQube?
- How would you decide between Coverity and Sonarqube?