Sonar in the news

SONAR – manage your code quality
By ShamanOfJava, 10 October 2011
Sonar is an open platform to manage code quality. It covers the 7 axes of code quality. Sonar supports a wide range of programming languages such as Java, C, C# etc. Through this article, we are going to see how to set up a Sonar Server and how to integrate a Java Project with it.

Measure Code Coverage of HtmlUnit Based Tests with Sonar and JaCoCo
By deors, 20 October 2011
This blog post is the third one in a series about Integration Tests with HtmlUnit. Finally, in this post we are going to show how to measure code coverage of HtmlUnit tests using Sonar, the popular Continuous Quality Assurance tool, and JaCoCo, a very interesting code coverage tool based on JVM agents instead of instrumenting bytecodes.

Separating Code Coverage With Maven, Sonar and Jacoco
By John Dobie, 23 October 2011
In this example I will expand upon my previous example of keeping your unit and integration tests in separate packages, and explain how to also produce code coverage statistics. For this I continue to use Maven, whilst adding Sonar and Jacoco to provide the code coverage.You can run the example below, but you will need to read the first article here to understand it.

Testing the new Sonar plugin for Gradle
By Luciano, 28 October 2011
If you were looking to convince your boss that Gradle is worth a try for your next project, look no further. Gradle 1 release candidate 5, released on October 25, brings the long awaited Sonar integration, and it works ridiculously well. How well? How about a one-liner.

A Free EC2 Cloud Server With Ubuntu, Jenkins And Sonar
By John Dobie, 29 October 2011
This example shows you how to create a free Amazon EC2 cloud based continuous integration and testing environment on Ubuntu. This is a low power server but it is useful for infrequent use. I personally tend to recommend Cloudbees, but this is handy when you need a free Sonar instance.

Code Quality Analysis in Deployment Pipeline with Gradle, Jenkins and Sonar
By Eugene Dvorkin, 31 October 2011
Sonar is a tool that integrate a range of quality analysis tools into a single website. It provide one page visibility into quality of project source code. Developers and managers are interested in test coverage, code duplication, adherence to coding standard, cyclomatic complexity of the code and several other parameters. Sonar is an open source product and can keep all your code metrics in database, as a matter of fact, in any relational database.

Effective Code Review with Sonar

At SonarSource, we like eating our own dog food as much as possible. This is not always the case in software development, but in our case since we develop software for software companies, we can do it. We therefore have an instance of Sonar that analyses all our products daily. We’ve been using it for quite a long time to monitor code quality using features like alerts and SQALE indicators (Technical debt). We have defined a quality gate for the ecosystem that is fairly simple: the SQALE index must be A, the technical debt must not increase between releases and there must not be blocker or critical violations.

This quality gate is good to have but not efficient enough because defects introduced during a sprint have to be fixed all at the end. Instead, they should be fixed as they appear for better efficiency, similarly to code fix when a unit test breaks in continuous integration: this is what we call continuous inspection. We have done a lot of work this year to be able to provide better support for Continuous Inspection in Sonar and have added several services : differential views, SCM information and manual reviews integrated with email notification and with Sonar Eclipse. Manual reviews is really the new hot feature to complements existing services and making code reviews more effective.

How does this all fit together ? Well, this is the subject of this post… Get your Sonar 2.11 started, open Eclipse along with Sonar Eclipse 2.1, and follow the guide!

Read the rest of this page »

Sonar 2.11 in screenshots

The Sonar team is proud to announce the release of Sonar 2.11. As usual, this new version includes improvements, bug-fixes and also new features that we believe are worth stopping your daily work for a couple of minutes to check out: new engine for copy paste detection enabling cross projects research, TimeMachine 2.0, deletion of past analysis…

Read the rest of this page »

Sonar in the news

Welcome to the roundup of blog posts and pages that mentioned Sonar last month…

Read the rest of this page »

Sonar… in the Cloud to Bee !

I am sure you know Cloudbees already, but just in case here is a short description of the services they provide : CloudBees is a cloud-based SaaS solution that provides flexible and scalable tools, from development (dev@cloud) to production (run@cloud). By nature at SonarSource we are mostly looking at development environments, i.e. dev@cloud, and this is what I am going to talk about today.

Dev@cloud aims to provide a full development infrastructure for small to medium size teams. The beauty with Cloudbees is that not only you don’t need to own and / or manage any hardware but also you don’t have to install and / or manage any of the software running on it. Cloudbees started to operate about one year ago, offering Jenkins as a service. Last July, Cloudbees added partners services to have a more comprehensive proposition: Artifactory as a repository for dependencies, Sauce Labs for tests and Sonar for Code Quality !

Check it out, in a few clicks you get comprehensive development infrastructure. There are several offers you can choose from, ranging from totally free for open source projects to high spec machine costing 5 cts per minute for builds requiring lots of power. Having Sonar available in Cloudbees will cost you about 20 USD per month for the server instance and 2 cts per minute for analysing projects. The infrastructure is highly scalable as each build start on its own slave and therefore does not compete for resources with others. We found it so good that we decided to move our entire Nemo infrastructure onto Cloudbees: instead of 36 hours elapsed, it now takes 6 hours to analyze 150 projects!

I believe that Cloudbees is a very compelling proposition for getting a development infrastructure up and running in no time. You now have no excuse to not focus on what really matters: the development of your product! I expect that many teams (and not only small ones) make a move in the coming months to this type of services, similarly to what happened in CRM with SalesForce.

Sonar in the news

Welcome to the roundup of blog posts and pages that mentioned Sonar last month…

Read the rest of this page »

Sonar 2.10 in screenshots

The Sonar team is proud to announce the release of Sonar 2.10. As usual, this new version includes improvements, bug-fixes and also new features that we believe are worth stopping your daily work for a couple of minutes to check out : internationalisation, e-mail notification and manual measure revamping.

Read the rest of this page »

Sonar in the news

Welcome to the roundup of blog posts and pages that mentioned Sonar last month…

Read the rest of this page »

Sonar 2.9 in screenshots

The Sonar team is proud to announce the release of Sonar 2.9. As usual, this new version includes improvements, bug-fixes and also new features that we believe are worth stopping your daily work for a couple of minutes to check out.

Most of the improvements are this time “under the hood” and can not be shown with screenshots. The two visible parts of the iceberg are improvements of manual code reviews and Quality Profile change logs.

Read the rest of this page »

Sonar in the news

Welcome to the roundup of blog posts and pages that mentioned Sonar last month…

Read the rest of this page »

Page 5 of 1912345678910...Last »