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 ...

Get Sonar Code Quality Testing Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.