Try our new research platform with insights from 80,000+ expert users
it_user727500 - PeerSpot reviewer
Senior Java Developer at a financial services firm
Real User
Code convention ensures consistency and graphing tool gives overall view of code changes over time
Pros and Cons
  • "Code Convention: Using the tool to implement some sort of coding convention is really useful and ensures that the code is consistent no matter how many contributors."
  • "An improvement is with false positives. Sometimes the tool can say there is an issue in your code but, really, you have to do things in a certain way due to external dependencies, and I think it's very hard to indicate this is the case."

How has it helped my organization?

This product has helped us improve the quality of code within the business and ensure all new developers keep to a similar code convention per project. This can basically be tracked back to saving the company money, because improved quality of the code means less technical debt which means it's easier to extend or add functionality to the code base. The quicker the development team can roll out changes, the less developer hours needed to implement the changes, which the company needs to convert into profits.

What is most valuable?

Most features in the product are very useful, but there are some parts that I personally use more than others.

1. Code Convention: Using the tool to implement some sort of coding convention is really useful and ensures that the code is consistent no matter how many contributors.

A very usual addition to this tool is an IntelliJ plugin called SonarLint, which integrates into your IDE, then allows you to run the convention rules file by file and receive immediate feedback when making changes. This removes the need to push to the server before finding out what issues you need to resolve.

2. Technical Debt: Being able to see how much technical debt there is within the project is useful, especially if your change increases this value. It's a good way to determine whether your change is improving the overall code quality or not.

3. Graphing: The tool has some very useful graphs which give you an overall view of how the code looks and/or changes with time. A graph that I find useful is the bubble chart. It shows three different metrics in a 2D graph. It shows the number of lines of code versus the number of issues in that project. The third dimension is the size of the bubble, which is technical debt in the project. So it's very easy to see which projects need immediate attention, if they are in the top-right quadrant of the graph as a very large circle, i.e., high number of issues, high number of lines of code, and high technical debt. Seeing which project/submodule is in which quadrant of the graph shows where work is needed. You can also drill into the project and see any submodules within that project as well. Very useful.

What needs improvement?

  • Upgrading the version of the server is a bit cumbersome and could be made slightly easier. Allowing admin users to upgrade the software through the front-end would make upgrading easier.
  • Another improvement is with false positives. Sometimes the tool can say there is an issue in your code but, really, you have to do things in a certain way due to external dependencies, and I think it's very hard to indicate this is the case. There is a way to mark the code/method with the issue number, but having to add comments/annotations in your code for your static analysis tool feels wrong to me.
  • Being able to have different groups or projects within the same server would be nice. Currently, I have a Sonar machine for production code (master branch) and UAT code (UAT branch), so when each branch is built in our continuous integration server it publishes to these two Sonar machines. What would be nice is if I could create subgroups within a single SonarQube server for each environment to remove the need for two separate machines.

What do I think about the stability of the solution?

It seems a lot more stable in the current versions of the product. I have never had major issues though, so I would say it's pretty stable.

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.

What do I think about the scalability of the solution?

I haven't yet found any scalability issues, although with the upgrade to version 6, they have moved the processing of the stats from outside the server to inside the server. What I have noticed is that the machines running SonarQube are using a lot more resources, as the processing is done server side. This means that I need to increase the resources allocated to the machine. If I was running this in the cloud, it would be easy, as I would create a larger instance for the service. But as I have this running on a physical machine, I am limited to what I can allocate.

How are customer service and support?

I haven't used their technical support.

Which solution did I use previously and why did I switch?

Yes, I have used individual components which SonarQube uses, such as FindBugs, but having the static analysis run and reported back within a continuous integration server. This gives you back some of the results, but SonarQube is a single, complete solution for static analysis and has added improvements like a great UI and visualisations.

How was the initial setup?

Initial setup was pretty easy. I currently run this in a virtual Linux (Ubuntu) machine using Vagrant and VirtualBox. Installation using apt-get was pretty simple. I then bundled it all up into a new Vagrant box which means I can spin up a new instance of SonarQube whenever and wherever I am (like a custom AMI on AWS), but locally.

What's my experience with pricing, setup cost, and licensing?

I am using the open source version of the product, so no cost. The licence is standard open source licensing, LGPL, so nothing to advise really.

Which other solutions did I evaluate?

I didn't. I am not sure if there are any other open source static analysis tools as good as this that I have found; Well at least three or four years ago there weren't.

What other advice do I have?

I would advise to get it done sooner rather than later. The sooner you have a better understanding of the state of your code base, the sooner you can make better business decisions based on that information.

Also, even though you may be a sole developer, I think it's still useful to use this tool and have these metrics at your finger tips. It's like version control, even if you are the only developer, I think it should be used for everything you do.

Disclosure: I am a real user, and this review is based on my own experience and opinions.
PeerSpot user
reviewer2393703 - PeerSpot reviewer
Director of Software Engineering at a computer software company with 201-500 employees
Real User
Top 20
Helps to monitor and manage violations but improvement is needed in integration with third-party platforms and scalability
Pros and Cons
  • "The tool helps us to monitor and manage violations. It manages the bugs and security violations."
  • "SonarQube needs to improve its ease of use, integration with third-party platforms, and scalability."

What is most valuable?

The tool helps us to monitor and manage violations. It manages the bugs and security violations. 

What needs improvement?

SonarQube needs to improve its ease of use, integration with third-party platforms, and scalability. 

For how long have I used the solution?

I have been using the product for five years. 

What do I think about the stability of the solution?

I rate the tool's stability a six out of ten. 

What do I think about the scalability of the solution?

My company has 150 users for SonarQube. 

How was the initial setup?

The tool's deployment is complex. 

What's my experience with pricing, setup cost, and licensing?

The tool's pricing is reasonable. 

What other advice do I have?

I rate the overall product a seven out of ten and would recommend it to others. 

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.
Flag as inappropriate
PeerSpot user
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.
reviewer1526550 - PeerSpot reviewer
Lead Security Architect at a comms service provider with 1,001-5,000 employees
Real User
Code quality assurance solution that supports many coding languages
Pros and Cons
  • "This solution has helped with the integration and building of our CICD pipeline."
  • "For improvement, this solution could be offered on Docker and the cloud and the support for this solution could be improved. Customizing rules could also be made simpler."

What is our primary use case?

We use this solution to configure our pipeline using Jenkins. From an integration perspective, it encompasses many languages and this is very useful.

How has it helped my organization?

This solution has helped with the integration and building of our CICD pipeline. Without any scans or assessments, the pipeline and build are not complete. One of the good features of SonarQube is the many languages it supports including Java, dotNET, Typescript and HTML CSS. It also allows us to set custom quality gates and rules.

What needs improvement?

This solution could be offered on Docker and the cloud. The support for this solution could be improved and the customization rules could also be made simpler. 

For how long have I used the solution?

I have used this solution for three years. 

What do I think about the stability of the solution?

This is a stable solution. 

What do I think about the scalability of the solution?

This solution could be scalable, specifically from a reporting perspective. 

How are customer service and support?

I would rate the customer support for this solution a seven out of ten. 

How would you rate customer service and support?

Neutral

Which solution did I use previously and why did I switch?

I have previously used Checkmarx, Blackbelt and WhiteSource.

What was our ROI?

We have experienced a good return on investment using this solution. 

What other advice do I have?

This is a good solution if you are looking for good coverage, quality, and vulnerabilities to be highlighted. That being said, there are better solutions in the market when it comes to SAST scanning.

I would rate this solution an eight out of ten. 

Which deployment model are you using for this solution?

Private Cloud
Disclosure: I am a real user, and this review is based on my own experience and opinions.
PeerSpot user
it_user1316571 - PeerSpot reviewer
Automation Practice Leader at a financial services firm with 10,001+ employees
Real User
Provides great code coverage; code security scanning could be improved
Pros and Cons
  • "The software quality gate streamlines the product's quality."
  • "Code security scanning could be improved."

What is our primary use case?

We're using the enterprise edition of SonarQube. I'm the head of DevOps engineering and we are customers of SonarQube. 

What is most valuable?

The most important feature is the software quality gate. When that's implemented we're able to streamline the product's quality. The other good features are SonarQube's code quality scanning and code coverage. If we use it effectively, we can capture the software code bugs early in the software development. It also helps us to identify the test coverage for the code that we're writing. It's a very, very important feature for the software developers and testers. 

What needs improvement?

There is room for improvement in the code security space which is not as extensive as it could be. There are other products on the market which are much better in terms of code security scanning. I'd also like to see improvement in support which is quite expensive. 

For how long have I used the solution?

I've been using this solution for six years. 

What do I think about the stability of the solution?

The product is stable although maintenance is a little cumbersome. 

What do I think about the scalability of the solution?

The product is scalable but there are some concerns. You need to regularly do a cleanup of the lines of codes that are being scanned, otherwise the license will run out. We were not initially aware of having to do that. We have around 700 users in the company and we have three or four people involved with maintenance. 

How are customer service and technical support?

There's a problem with the technical support because it's offered as a separate paid package and doesn't come by default with the license. Most other products in the market include  technical support with the software. There are various other products in the market, which are much better and offer support without any additional costs.

What's my experience with pricing, setup cost, and licensing?

Licensing costs could be lower. We paid around 60,000 Singapore Dollars for our 20 million lines of code.

What other advice do I have?

SonarQube is a very good tool for code quality.

I rate this solution a seven out of 10.  

Disclosure: I am a real user, and this review is based on my own experience and opinions.
PeerSpot user
Daniel Antonio Jimenez Quintana - PeerSpot reviewer
IT Systems Architect at Banco Ripley
Real User
Open-source, secure static testing, but cannot be used for dynamic testing
Pros and Cons
  • "It provides the security that is required from a solution for financial businesses."
  • "We found a solution with dynamic testing, and are looking to find a solution that can be used for both types of testing."

What is our primary use case?

We use SonarQube for testing and quality assurance. We use this in banks for testing.

We also use SonarQube for security static testing.

What is most valuable?

It provides the security that is required from a solution for financial businesses.

What needs improvement?

SonarQube is used for static testing, not for dynamic. We found a solution with dynamic testing, and are looking to find a solution that can be used for both types of testing.

I would like to see software included that can be used with Waterfall projects.

Which solution did I use previously and why did I switch?

We try to primarily use open-source solutions. The organization tries not to spend money for the moment. Many clients do not want to pay for solutions during this time, especially in the case of products that are expensive.

What's my experience with pricing, setup cost, and licensing?

We have partnered with B2B American to help with the purchasing of the license.

We have just been approved to purchase SonarQube Developer Edition.

We have a license with 125,000 lines of code. We did not purchase a lot of lines but it is specific to our code environment.

It's an open-source solution.

Which other solutions did I evaluate?

We are currently evaluating other solutions that are open-source. The company is trying to reduce the amount of money spent on solutions.

We are looking for the newest technologies but the biggest stopper for us is money.

What other advice do I have?

For the units of architecture, we have tried to find the newest technology that would benefit the manifest of their orientation.

It has been very difficult. Last year many projects stopped.

I would rate SonarQube a six out of ten.

Disclosure: I am a real user, and this review is based on my own experience and opinions.
PeerSpot user
Backend Architect at Sngular
Real User
It has very good scalability and stability
Pros and Cons
  • "It has very good scalability and stability."
  • "We also use Fortify, which is another tool to find security errors. Fortify is a better security tool. It is better than SonarQube in finding errors. Sometimes, SonarQube doesn't find some of the errors that Fortify is able to find. Fortify also has a community, which SonarQube doesn't have. Its installation is a little bit complex. We need to install a database, install the product, and specify the version of the database and the product. They can simplify the installation and make it easier. We use docker for the installation because it is easier to use. Its dashboard needs to be improved. It is not intuitive. It is hard to understand the interface, and it can be improved to provide a better user experience."

What is our primary use case?

We usually do the development in Java, and when we finish the development, we usually run the SonarQube tests and review the critical level, bugs, and security issues. We also review the license and the web issues and try to solve them, and then pass again through SonarQube.

We usually deploy it in the cloud, but sometimes we also have on-premises solutions.

What is most valuable?

It has very good scalability and stability.

What needs improvement?

We also use Fortify, which is another tool to find security errors. Fortify is a better security tool. It is better than SonarQube in finding errors. Sometimes, SonarQube doesn't find some of the errors that Fortify is able to find. Fortify also has a community, which SonarQube doesn't have.

Its installation is a little bit complex. We need to install a database, install the product, and specify the version of the database and the product. They can simplify the installation and make it easier. We use docker for the installation because it is easier to use.

Its dashboard needs to be improved. It is not intuitive. It is hard to understand the interface, and it can be improved to provide a better user experience.

For how long have I used the solution?

I have been using SonarQube for two years.

What do I think about the stability of the solution?

Its stability is very good.

What do I think about the scalability of the solution?

It has very good scalability. In my company, we have less than 15 users. They are mostly developers.

How are customer service and technical support?

I have not used the support.

Which solution did I use previously and why did I switch?

I have used Codestyle and a few other tools. SonarQube is similar to other tools.

How was the initial setup?

Its installation is a little bit complex. They can simplify the installation and make it easier.

Which other solutions did I evaluate?

We didn't evaluate other options. 

What other advice do I have?

I would rate SonarQube a nine out of ten.

Which deployment model are you using for this solution?

Private Cloud

If public cloud, private cloud, or hybrid cloud, which cloud provider do you use?

Amazon Web Services (AWS)
Disclosure: I am a real user, and this review is based on my own experience and opinions.
PeerSpot user
reviewer1422195 - PeerSpot reviewer
Director IT Security, CISO at a transportation company with 10,001+ employees
Real User
Cost-effective with good out-of-the-box features
Pros and Cons
  • "I like the by-default policies that are they, as they seem to cover most of what I need."
  • "The interface could be a little better and should be enhanced."

What is our primary use case?

I have used SonarQube for static code analysis. I am using it to assess my internal applications.

What is most valuable?

I like the by-default policies that are they, as they seem to cover most of what I need. I see that as an essential feature.

What needs improvement?

The interface could be a little better and should be enhanced.

More support for integration with third-party products would be an improvement.

For how long have I used the solution?

I have been using SonarQube for more than five years.

What do I think about the stability of the solution?

I have not faced any bugs or glitches in SonarQube.

How are customer service and technical support?

I have not been in contact with technical support, although my teams would have definitely reached out.

How was the initial setup?

I would not say that the initial setup was complex, although it was not smooth enough. This was a mixed, hybrid set up because every environment has its own applications to deploy. That said, it was not so critical that we were no able to manage it.

What about the implementation team?

We have an in-house team in charge of maintenance. I have four people who are on payroll and an augmented staff of three more.

What's my experience with pricing, setup cost, and licensing?

SonarQube is an open-source product that can be used free of charge. It is a cost-effective solution.

Which other solutions did I evaluate?

You cannot really compare this product to commercial solutions. However, the features that it provides out of the box are very good.

When it comes to other technologies, such as the Checkmarx of the world, they are better than SonarQube. This is something that they should look at as this project evolves.

What other advice do I have?

This product is leading its class in the open-source community. It is absolutely a product that I can recommend. I think that digital organizations that have budget constraints should look at this technology, and then they can evolve it as per their needs.

In the future, I may look into deploying SonarQube in a hybrid model.

I would rate this solution an eight 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.
PeerSpot user
Rakesh Thakur - PeerSpot reviewer
Technical Architect at a insurance company with 1,001-5,000 employees
Real User
An open-source platform for the continuous inspection of code quality with a useful code security feature
Pros and Cons
  • "I like that it helps us maintain our work quality and code security."
  • "Code security could be better. They are already focusing on it, but I see a lot of improvement opportunities over there. I can see a lot of false positives in terms of security. They need to make the tests more accurate so that the false positives are not detected so frequently. It would also help if they provided us with an installer."

What is our primary use case?

We are application support vendors, and we develop applications for our clients. To maintain code quality, we were using SonarQube, and then we presented that to our clients in order to purchase that. That's where this whole thing got started. 

One thing that we were using it majorly for was our work quality. It usually helped us in automating the review and making it more gate-oriented. Recently we were able to see the latest features like security hotspots and all that.

We were trying to serve two purposes; work quality and code security, with one tool. That's where our inclination was more towards Sonar because other tools generally target code security only.

What is most valuable?

I like that it helps us maintain our work quality and code security.

What needs improvement?

Code security could be better. They are already focusing on it, but I see a lot of improvement opportunities over there. I can see a lot of false positives in terms of security. They need to make the tests more accurate so that the false positives are not detected so frequently. It would also help if they provided us with an installer. 

For how long have I used the solution?

I have been using SonarQube for about three or four years. However, in this organization, we have been using it for the last year or so.

What do I think about the scalability of the solution?

In Community Edition, I don't think that we have enough scalability options because it runs only on one instance, plus it runs only one scan at a time. It doesn't even provide a settings capability where multiple scans are running simultaneously. That's why we want to move to the Enterprise Edition because it gives you a possibility of parallel analysis of reports, and that could speed up things.

How are customer service and technical support?

We're using the Community Edition, and I think support comes only with the paid version. But we had an initial conversation with them, and we got our answers clarified. I certainly look forward to getting in touch with somebody from SonarCloud because I hear that they are separate entities. SonarSource people don't talk about SonarCloud. We want a contact whom we can speak to regarding our security-related concerns, privacy-related concerns, and how we can secure our code in their environment.

How was the initial setup?

The initial setup on-premise may take a while because you have to procure all the servers and do the reconfiguration yourself. But I think they have provided their steps very elaborately, and that certainly helps. However, you need to make an effort to set it up. It doesn't come with an installer, and you have to download it, extract it, then configure it to run on your server automatically with every server system. If they could have provided us with an installer setup, it could have made it much easier.

What's my experience with pricing, setup cost, and licensing?

We're using the Community Edition, and we don't pay for anything.

What other advice do I have?

On a scale from one to ten, I would give SonarQube a nine.

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.
PeerSpot user
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
Buyer's Guide
Download our free SonarQube Server (formerly SonarQube) Report and get advice and tips from experienced pros sharing their opinions.