Sonar 2.3 in screenshots
The Sonar team is proud to announce the release of Sonar 2.3. As usual, this new release includes numerous improvements, bug-fixes and also new features that we believe are worth stopping your daily work for a couple of minutes to review. This new version of Sonar is very focused on the coding rules management.
Multiple activation of rules
Until now, it was not possible in Sonar to "instantiate" rules, i.e. to have several times the same rule with different parameters. For instance, it is now possible to activate several times the Checkstyle rule "Illegal Regular Expression" with different parameters and priority or the PMD rule "XPath" with different XPath expressions. To do so, first press the "Copy" button on the chosen rule template :
and then configure the so-created rule :
This feature was a requirement to start working for instance on the architecture rule engine (SONAR-1832) in order to be able to instantiate several times a dependency rule (examples : don't access the **.db.** packages from the **.client.** packages, don't use java.util.Vector, don't access **.web.** packages from **.dao.** packages, ...).
Backup and Restore quality profiles
A backup/restore for quality profile has been added, enabling for example to copy an entire profile from pre-production to production environment whatever rule engines are used by this quality profile.
Bulk change rules
When working on quality profiles, it was frustrating that you could only enable one rule at the time. A bulk change functionality has now been added. With this feature, you can for instance search for all Findbugs rules and activate or deactivate them in one click :
A lot of time was also spent on functionality that cannot be demonstrated with screenshots : new rules API, ability to add static resources to plugins, new meta-model and API to add support for quality models like ISO 9126, new Findbugs rules...
To find out more about Sonar 2.3 and the 77 issues that have been fixed, you can check the release notes or maybe you prefer to download it to give a ride. If you want to know what's coming next, you can have a look to the roadmap page. Have fun !