Chapter 16. Writing your own plugin

This chapter covers

  • Understanding SonarQube architecture
  • Writing code for a SonarQube plugin
  • Creating your own widgets
  • Supporting new languages

Welcome to the last chapter of SonarQube in Action, which will teach you how to implement your own SonarQube plugins. If you wonder why you might want to write your own plugin, here’s a non-exhaustive list of possible needs:

  • Integrate SonarQube with external tools such as the example we’ll show you in this chapter.
  • Create customized reports based on the metrics computed by SonarQube.
  • Translate SonarQube in a new language (localization).
  • Add support for a new programming language.

We’ve told you that SonarQube isn’t Java-centric and that even though our ...

Get SonarQube in Action 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.