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

Sonar Code Quality Testing Essentials
By :

In this chapter, we examined how Sonar manages and presents documentation levels across our projects. Having reviewed Sonar's metrics and the formulae, we added documentation and comments rules to the custom packt profile. We have seen how to locate documentation violations and created a custom filter to provide a summarized view on all projects regarding documentation and comments.
Finally, we installed and configured Maven's documentation plugin to automatically generate Javadoc documentation and installed the Sonar Doxygen plugin to make the project documentation available inside the project dashboard.
In the next chapter, we will learn about duplicated code and how to locate it. Sonar offers some interesting widgets to easily pin down duplicated blocks of code and lines, along with the Useless Code plugin, which aggregates duplicated source code sections and presents them across all parts inside a project. Additionally, we will see how Sonar detects duplication not only within...
Change the font size
Change margin width
Change background colour