SonarQube in Action


SonarQube in Action shows developers how to use the SonarQube platform to help them continuously improve their source code. The book presents SonarQube’s core Seven Axes of Quality: design/architecture, duplications, comments, unit tests, complexity, potential bugs, and coding rules. You’ll find simple, easy-to-follow discussion and examples as you learn to integrate SonarQube into your development process.

SonarQube is a powerful open source tool for continuous inspection, a process that makes code quality analysis and reporting an integral part of the development lifecycle. Its unique dashboards, rule-based defect analysis, and tight build integration result in improved code quality without disruption to developer workflow. It supports many languages, including Java, C, C++, C#, PHP, and JavaScript.

SonarQube in Action teaches you how to effectively use SonarQube following the continuous inspection model. This practical book systematically explores SonarQube’s core Seven Axes of Quality (design, duplications, comments, unit tests, complexity, potential bugs, and coding rules). With well-chosen examples, it helps you learn to use SonarQube’s review functionality and IDE integration to implement continuous inspection best practices in your own quality management process.

The book’s Java-based examples translate easily to other development languages. No prior experience with SonarQube or continuous delivery practice is assumed

What’s Inside

  • Gather meaningful quality metrics
  • Integrate with Ant, Maven, and Jenkins
  • Write your own plugins
  • Master the art of continuous inspection

Table of Contents
Part 1: What the numbers are telling you
Chapter 1. An introduction to SonarQube
Chapter 2. Issues and coding standards
Chapter 3. Ensuring that your code is doing things right
Chapter 4. Working with duplicate code
Chapter 5. Optimizing source code documentation
Chapter 6. Keeping your source code files elegant
Chapter 7. Improving your application design

Part 2: Settling in with SonarQube
Chapter 8. Planning a strategy and expanding your insight
Chapter 9. Continuous Inspection with SonarQube
Chapter 10. Letting SonarQube drive code reviews
Chapter 11. IDE integration

Part 3: Administering and extending
Chapter 12. Security: users, groups, and roles
Chapter 13. Rule profile administration
Chapter 14. Making SonarQube fit your needs
Chapter 15. Managing your projects
Chapter 16. Writing your own plugin

Appendix A. Installation and setup
Appendix B. Analysis

Book Details

  • Paperback: 392 pages
  • Publisher: Manning Publications (November 2013)
  • Language: English
  • ISBN-10: 1617290955
  • ISBN-13: 978-1617290954
Download [27.5 MiB]

You may also like...

Leave a Reply