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

Post on 27-Aug-2014

20,571 views 2 download

Tags:

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

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?

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

2All rights reserved. 2014 © ZeroTurnaround OÜ

3All rights reserved. 2014 © ZeroTurnaround OÜ

4All rights reserved. 2014 © ZeroTurnaround OÜ

5All rights reserved. 2014 © ZeroTurnaround OÜ

6All rights reserved. 2014 © ZeroTurnaround OÜ

7All rights reserved. 2014 © ZeroTurnaround OÜ

8All rights reserved. 2014 © ZeroTurnaround OÜ

9All rights reserved. 2014 © ZeroTurnaround OÜ

10All rights reserved. 2014 © ZeroTurnaround OÜ

11All rights reserved. 2014 © ZeroTurnaround OÜ

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: labs@zeroturnaround.com

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