Extending Sonar with plugins
Sonar features a very streamlined plugin installation process from within the platform's web update center—although a server restart is still mandatory. Next, we will install the Useless Code Tracker plugin by Olivier Gaudin. In short, this plugin calculates and reports on total duplicated lines inside a Java project. After installation, a new Useless Code widget will be available for customizing the Sonar dashboard.
To manage plugins, log in to Sonar as administrator and click on the Update Center link under the SYSTEM section. The Update Center section provides plugins and system information separated on the following four tabs:
Installed Plugins: List of currently installed plugins
Available Plugins: All available plugins in the Sonar library
Plugin Updates: List of plugins that need updating
System Updates: Information on new platform updates
Installing the Useless Code Tracker plugin
From the Update Center section, click on the Available Plugins tab and...