What is coming up for Sonar in 2012 ?
I wrote a few weeks ago a post on what was accomplished on the platform last year. Today, even if the year is already well started, I am taking some time to discuss the plans for this year !
In 2011, a lot of efforts were invested for supporting Continuous Inspection. This year, we will continue to increase the value of the platform by bringing new and unique functionality, enforcing integration to development environment, consolidating support of existing languages and adding new ones.
Complete support of Continuous Inspection
The plan for this year is to complete what was started on Continuous Inspection last year and add the ability to:
- customize the workflow for reviews
- create a review at any place in the code
- change severity of a violation
- group reviews into an action plan
- track project activity through widgets
- get notified in case of new violations on a project
- improve accuracy for new violation detection mechanism
Most of this was completed already as it was part of Sonar 2.13 and 2.14
Developer Cockpit
Since developers have now the ability to understand and follow continuously the quality of their application, this is now time to provide them with a service that shows their own contribution to projects: the developer cockpit. The idea is that the developer will have access to a dashboard similar to the current one that will show only his data.
Global / Governance dashboards
The platform already allows to customize project dashboards but there is currently no way to create global dashboards to get for example in the same page :
- the list of projects with a technical debt that increased during the past 30 days
- my most valuable measures on my favorite projects
- the reviews that were created last across all projects
- the open reviews assigned to me
- the last quality default I introduced
- …
Code analysis technology
SonarSource is going to open source its source code analysis technology “SSLR” to make it available for all Sonar plugins. The objective is to make all languages plugins, whether open source or close source, better. SSLR will provide all standard and complex stacks to analyse code : lexer, preprocessor, parser, AST generation, symbols table, XPath requests on AST, control flow… The first language we are looking at improving then is going to be Javascript.
Code Churn metrics
When doing refactoring and fixing quality defects, it can be very valuable to know what has been the activity during the past months on the source files we’re working on. Indeed the ROI of the same kind of refactoring can be far more important on files which are often updated than on files that haven’t changed during the past two years. That’s another input to determine the priority of remediation activities.
Language coverage
On the language side, this year was prolific already with the contribution from the community of a python and a delphi plugin. But this is not it ! Two c++ plugins are under construction, one from the community and one from SonarSource. This is all good news for the ecosystem.
Additional effort is going to be made on the improvement of existing languages:
- Release of a version 1.0 of Flex plugin where any remaining dependency on Maven will be removed
- Ability to not use anymore Toad with the PL/SQL plugin (2 releases of te plugin already this year)
- increase drastically the number of rules in C (+ 30 already)
- release of a version 2.0 of the SAP ABAP plugin
Various
Here is a list of various improvements and functionality that will enhance the platform:
- Detection of cross-project duplications for all languages
- Support for authorization in the LDAP plugin
- Differential analysis in Eclipse
- Encryption in analysers of DB credentials
- This might be the year for Idea plugin
That is it, we are now waiting for you on the user mailing list to discuss all this and define the exact use cases that should be covered!


Is there an expected time of arrival for the C++ language coverage? This would be extremely useful for better understanding the condition of ur legacy product code.
By Mark McNally on April 18, 2012 at 2:41 pm
Yes, this is planned for Q3.
By Olivier Gaudin on April 19, 2012 at 12:57 pm
Hi,
I believe there’s an update on the SIG Maintainability Model. Should we expect an update on the Sonar plugin?
We have already been audited by SIG but after installing the latest SIG MM plugin 1.0.1 ( 12 Mar 2011 ), we noticed that some of the metrics are not yet there.
By Jonathan on September 10, 2012 at 9:20 am
Hi Jonathan,
What do you mean by “update on the SIG Maintainability Model”? Do you have reference?
In any case it’s better to switch to Sonar Users mailing list for such questions.
By Evgeny Mandrikov on September 10, 2012 at 10:40 am
Hi Evgeny,
I found a thread from a Sonar users group that says that SIG has updated it’s model. Here’s the link.
http://sonar.15.n6.nabble.com/An-Updated-SIG-Maintainability-Model-td4495599.html
Sorry, I am not part of the mailing list of sonar users since I’m just new to it.
By Jonathan on September 10, 2012 at 12:44 pm
Jonathan, I created ticket http://jira.codehaus.org/browse/SONARPLUGINS-2253 But as was said by Freddy in thread, which you reference – we don’t have a dedicated maintainer/leader for this plugin and will be happy if someone (e.g. you) will support it ;)
By Evgeny Mandrikov on September 10, 2012 at 4:17 pm
Hi Evgeny,
Thanks for the update. I hope someone takes the lead on this.
By Jonathan on September 12, 2012 at 1:28 am