Summary
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access