Chapter 10. Letting SonarQube drive code reviews

 

This chapter covers

  • Reviewing code in SonarQube
  • Creating manual issues: when the rules aren’t enough
  • Tracking issues
  • Planning your work with SonarQube’s action plans

In this chapter, we’ll talk about how to use SonarQube in a code review, one of the most loved/hated, revered/maligned duties of a coding team that (almost) never gets done. There are a lot of reasons for skipping code reviews, among them that there’s no starting place or that people will feel picked on. But centering your code review around SonarQube can alleviate or eliminate many of the classic excuses. It will also help you organize and manage your code-quality efforts through issue confirmation, commenting, assignment, and severity adjustment. When you find the occasional dud issue (it happens once in a while), we’ll show you how to handle it without tossing the baby out with the bathwater.

10.1. Reviewing code in SonarQube

10.2. Creating manual issues: when the rules aren’t enough

10.3. Tracking issues

10.4. Planning your work with SonarQube’s action plans

10.5. Structuring a code review

10.6. Related plugins

10.7. Summary

sitemap