Chapter 6. Hunting Potential Bugs

In this chapter, we will review and detail some of the most common violations that can lead to bugs or defects—unexpected behavior. We will then add coding standards rules to complement the custom profile. Next, we will install the Violation Density plugin, an alternate overall representation of project quality. Finally, we will install the Sonar Eclipse plugin, an ultimate tool that brings Sonar measures directly to our IDE.

In this chapter we cover:

  • Potential bugs violations
  • Installing the Violation Density plugin
  • Integrating Sonar to Eclipse

Potential bugs violations

The three Sonar analyzers feature an extensive set of rules checking code that can lead to potential bugs and deficiencies. We are going to add to the ...

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.