Sonar in the news
Welcome to the roundup of blog posts and pages that mentioned Sonar last month...
Through the eyes of sonar : Complexity
By Mestachs, 26 november 2012
I’m continuing the “Through the eyes of sonar” series ( 1 & 2 ) with various code complexity issues: First a small recap of guidelines/rules and then some practical examples.
Code Coverage Tools (JaCoCo, Cobertura, Emma) Comparison in Sonar
By Patroklos Papapetrou, 19 december 2012
One of the key aspects when talking about software quality is the test coverage or code coverage which is how much of your source code is tested by Unit tests. Sonar integrates with the most popular open source code coverage tools ( JaCoCo, Cobetura, Emma ) and the well-known commercial Clover by Attlassian. By default it uses the JaCoCo (Java Code Coverage) engine and you’ll shortly find out why...
Creating CheckStyle rules for Sonar
By Sébastien, 6 december 2012
Internally, we have what we call the tech watch day where we investigate a library and/or a technology during a day with a concrete objective. This article aims to explain what we have tried to integrate custom rules in Sonar. We choose CheckStyle because we have quickly found documentation on how to write rules and there is also a nice IntelliJ plugin to run rules inside the IDE. We do not pretend it was the best option, but a first trial.
How To Avoid Sonar Violations
By Robinson Selvamani, 14 december 2012
Compromising with quality will slow down productivity. So continuous evaluation is required to check the quality of the code. Sonar does this. Sonar is a java based open source platform that evaluates and reports on source code quality. Sonar also helps Continuous Integration process. Sonar has a set of rules violating which will fail the build. Here are some Do's and Dont's that will help the developer in aviding sonar violations.
Sonar y Total Quality: midiendo la calidad total de nuestros proyectos (Spanish)
By Arlandy Miguel Rodriguez, 12 december 2013
As we know, Sonar is an excellent open source tool that aims to analyze and measure the quality of our projects. To achieve this purpose uses a lot of software quality metrics and a comprehensive set of rules (PMD, Checkstyle, Findbugs ...). There is a plugin called Total Quality Sonar which includes a series of metrics Sonar to offer a comprehensive assessment of the quality of our project. This plugin allows us to set the parameters that best fit our needs or requirements. In this tutorial we will see how the Total Quality Sonar plugin calculates the overall quality of our projects and discuss the metrics on which it relies (cyclomatic complexity, LCOM, RFC, duplicate code, etc ...).