Looking Back at 2010 Accomplishments on Sonar Platform

by olivier gaudin|

    My initial intention was to write a post on the plans for Sonar in 2011 and the associated roadmap. I started by quickly listing what was achieved in 2010. But after thinking about it, I realized that so much happened last year that it was worth to dedicate it an entire post !

    The plan

    One year ago, we had two major ambitions for the coming year :

    Design analysis : we like to say that there are seven technical axes of code quality analysis (we call them the seven sins of the developer). Sonar currently covers sixth of them and the last one is for us the most important one with unit tests : Design & Architecture. Sonar 2.0 planned for February will start covering the 7th axis with O.O. metrics like LCOM4, RFC, DIT … cycles detection and DSM at package and class levels. All those information will be of course provided by Squid. Moreover, an architecture rule engine should quickly appear after Sonar 2.0.

    The architecture and design axis was delivered in March with Sonar 2.0. Later on in the year, we added further functionality to it such as Architecture Contraint Rules and the library and dependencies services.

    Multi-languages : last but not least, give a real go at other languages. By the end of the year, we expect that plugins are available to cover properly : Java, PL/SQL, Flex, C/C++, Cobol, PHP and maybe more :-)

    All of those languages are now available in Sonar apart from C++. But there are also now extensions for Visual Basic 6, Natural, web, Groovy and .Net and probably many others we don't know

    The figures

    • 6 major releases of Sonar Core
    • More than 1,500 issues closed in JIRA
    • More than 50 plugins available in the forge
    • More than 50,000 download
    • More than 6,500 emails exchanged on mailing lists
    • More than 1,800 JIRA issues created and 1,500 closed
    • More than 1,000 people following the blog

    Beyond the plans

    Here is a list of other major functionalities delivered this year :

    • Filters : a new home page which includes powerful capabilities for filtering resources and group them by tab.
    • Custom Dashboards : ability to create and customize project dashboards by choosing a layout and moving widgets around
    • Update center : to keep Sonar platform up to date with plugins
    • Sonar java rules engine containing around 15 rules (dead code, calls to deprecated methods, architecture rules...)
    • Eclipse plugin : bring information gathered by Sonar into Eclipse for the developer
    • SQALE plugin : this implementation of the SQALE Quality Model is complementary to the Views plugin in order to offer a complete portfolio management solution

    We should also not forget the underlying technical work required to make all these possible : addition of byte-code analysis, execution of plugins independent classloaders, major refactoring of rules and rules engine handling, compatibility with Maven 3...


    Early 2010, the development of the platform was supported by SonarSource and a hand of active contributors on the plugins forge. We have seen contributions increasing strongly during the year, especially on the plugins side. There are today around 15 very active contributors on top of SonarSource.

    SonarSource as a company grew from 3 to 6 people and has done very well in 2010. The elements of this good health were:

    • commercial products and support seem to fit the needs
    • several partnerships were established for ALM stack integration
    • several consulting companies requested support
    • increasing requests for development on demand on the platform

    So after all this, what could be an exciting challenge for 2011 ? You should be patient and wait for the next post !