O'Reilly logo

Sonar Code Quality Testing Essentials by Charalampos Arapidis

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required