By Simon Brandhof on February 2, 2012 » tags release, screenshots »
no comments
The Sonar team is proud to announce the release of Sonar 2.13. This new version includes 60 improvements, bug-fixes and also some new features that we believe are worth stopping your daily work for a couple of minutes to check out : ability to create manual reviews / violations anywhere in the code, ability to create action plans and an extended search engine.
Read the rest of this page »
By Olivier Gaudin on January 11, 2012 » tags news »
no comments
By Freddy Mallet on December 23, 2011 » tags continuous inspection, Technical Debt »
no comments
Most IT people know Thoughtworks and its charismatic technical leader / evangelist Martin Fowler. But probably fewer know the Thoughtworks Technology Radar whose first publication was done in January 2010.
According to their authors :
The ThoughtWorks Technology Advisory Board is a group of senior technology leaders within ThoughtWorks. They produce the ThoughtWorks Technology Radar to help decision makers understand emerging technologies and trends that affect the market today. This group meets regularly to discuss the global technology strategy for ThoughtWorks and the technology trends that significantly impact our industry.
In its last publication (July 2011), Sonar platform made its first appearance in the “Assess” circle : “Worth exploring with the goal of understanding how it will affect your enterprise”
Read the rest of this page »
By Simon Brandhof on December 8, 2011 » tags release, screenshots »
no comments
The Sonar team is proud to announce the release of Sonar 2.12. This new version includes more than 100 improvements, bug-fixes and also some new features that we believe are worth stopping your daily work for a couple of minutes to check out: Support of Java 7, Integration of JaCoCo in the Sonar core, Hotspots 2.0 and Display groups of duplicated blocks.
Read the rest of this page »
By Olivier Gaudin on December 6, 2011 » tags news »
no comments
By Michael Muller on November 3, 2011 » tags news »
one comment
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.
By Fabrice Bellingard on October 20, 2011 » tags continuous inspection, manual reviews »
11 comments
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 »
By Simon Brandhof on October 6, 2011 » tags release, screenshots »
no comments
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 »
By Olivier Gaudin on October 4, 2011 » tags news »
no comments
By Olivier Gaudin on September 27, 2011 » tags cloud, cloudbees, SaaS »
2 comments
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.