-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating

Sonar Code Quality Testing Essentials
By :

Sonar comes with three predefined profiles—they are not editable but you can use them as a basis for a new custom one. Go to Configuration from the top of the page and then click Quality Profiles on the left.
![]() |
You can select the default quality profile, copy an existing one and use it as a template for a custom profile, or create a new one from scratch.
Throughout the book, we will create a new Packt profile from scratch, adding rules chapter by chapter. By the end of the book, you will have configured a complete professional profile and have a deep understanding of the most common and important rules the platform offers. From that point on, you will be able to adjust or create numerous profiles customized down to the finest detail.
To create a new quality profile, click the Create link from the main profile management screen. Sonar will prompt for a profile Name; name it under Packt profile and click on the Create Java Profile button to save it...
Change the font size
Change margin width
Change background colour