The Wise Developers' Guide to Static Code Analysis (image preview)

13
FEATURING FINDBUGS, CHECKSTYLE, PMD, COVERITY AND SONARQUBE THE WISE DEVELOPERS’ GUIDE TO STATIC CODE ANALYSIS How many bugs will you find?

description

Did you know that most developers don't monitor or fix code quality issues in their applications? In this RebelLabs report, we discuss code quality, namely Static Code Analysis tools like Findbugs, Checkstyle, PMD, Coverity and SonarQube, and how these tools make a difference in both the quality of your code and your ability to deliver apps predictably and on time. Additionally, we show you how to set up each tool, enable the small customizations that matter and offer some advice for how to avoid common pitfalls. Go here for the full report: http://rebellabs.org

Transcript of The Wise Developers' Guide to Static Code Analysis (image preview)

Page 1: The Wise Developers' Guide to Static Code Analysis (image preview)

1All rights reserved. 2014 © ZeroTurnaround OÜ

FEATURING FINDBUGS, CHECKSTYLE, PMD, COVERITY AND SONARQUBE

THE WISE DEVELOPERS’ GUIDE TO STATIC CODE ANALYSIS

How many bugs will you find?

Page 2: The Wise Developers' Guide to Static Code Analysis (image preview)

2All rights reserved. 2014 © ZeroTurnaround OÜ

CHAPTER I: WELCOME TO STATIC CODE ANALYSIS, THAT THING YOU AREN’T DOING

"The quality of your code is a weak spot in almost every software project you’ll ever touch. This is because ongoing development ensures that even the bits you were once proud of become, over time, first less elegant, then rough, and finally incomprehensible."

OLEG SHELAJEV, Java Developer/Author

Page 3: The Wise Developers' Guide to Static Code Analysis (image preview)

2All rights reserved. 2014 © ZeroTurnaround OÜ

Page 4: The Wise Developers' Guide to Static Code Analysis (image preview)

3All rights reserved. 2014 © ZeroTurnaround OÜ

Page 5: The Wise Developers' Guide to Static Code Analysis (image preview)

4All rights reserved. 2014 © ZeroTurnaround OÜ

Page 6: The Wise Developers' Guide to Static Code Analysis (image preview)

5All rights reserved. 2014 © ZeroTurnaround OÜ

Page 7: The Wise Developers' Guide to Static Code Analysis (image preview)

6All rights reserved. 2014 © ZeroTurnaround OÜ

Page 8: The Wise Developers' Guide to Static Code Analysis (image preview)

7All rights reserved. 2014 © ZeroTurnaround OÜ

Page 9: The Wise Developers' Guide to Static Code Analysis (image preview)

8All rights reserved. 2014 © ZeroTurnaround OÜ

Page 10: The Wise Developers' Guide to Static Code Analysis (image preview)

9All rights reserved. 2014 © ZeroTurnaround OÜ

Page 11: The Wise Developers' Guide to Static Code Analysis (image preview)

10All rights reserved. 2014 © ZeroTurnaround OÜ

Page 12: The Wise Developers' Guide to Static Code Analysis (image preview)

11All rights reserved. 2014 © ZeroTurnaround OÜ

Page 13: The Wise Developers' Guide to Static Code Analysis (image preview)

12All rights reserved. 2014 © ZeroTurnaround OÜ

Report Authors:Oleg Shelajev, Sigmar Muuga, Simon Maple, Oliver White

Report Designer: Ladislava Bohacova

Contact Us

EstoniaÜlikooli 2, 4th floorTartu, Estonia, 51003Phone: +372 653 6099

Twitter: @RebelLabsWeb: http://zeroturnaround.com/rebellabsEmail: [email protected]

USA399 Boylston Street, Suite 300, Boston, MA, USA, 02116Phone: 1(857)277-1199

Czech RepublicOsadní 35 - Building BPrague, Czech Republic 170 00Phone: +372 740 4533