Your Code as a Crime Scene

Use Forensic Techniques to Arrest Defects, Bottlenecks, and Bad Design in Your Programs

Nonfiction, Computers, Programming, Software Development
Cover of the book Your Code as a Crime Scene by Adam Tornhill, Pragmatic Bookshelf
View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart
Author: Adam Tornhill ISBN: 9781680505207
Publisher: Pragmatic Bookshelf Publication: March 30, 2015
Imprint: Pragmatic Bookshelf Language: English
Author: Adam Tornhill
ISBN: 9781680505207
Publisher: Pragmatic Bookshelf
Publication: March 30, 2015
Imprint: Pragmatic Bookshelf
Language: English

Jack the Ripper and legacy codebases have more in common than you'd think. Inspired by forensic psychology methods, you'll learn strategies to predict the future of your codebase, assess refactoring direction, and understand how your team influences the design. With its unique blend of forensic psychology and code analysis, this book arms you with the strategies you need, no matter what programming language you use.

Software is a living entity that's constantly changing. To understand software systems, we need to know where they came from and how they evolved. By mining commit data and analyzing the history of your code, you can start fixes ahead of time to eliminate broken designs, maintenance issues, and team productivity bottlenecks.

In this book, you'll learn forensic psychology techniques to successfully maintain your software. You'll create a geographic profile from your commit data to find hotspots, and apply temporal coupling concepts to uncover hidden relationships between unrelated areas in your code. You'll also measure the effectiveness of your code improvements. You'll learn how to apply these techniques on projects both large and small. For small projects, you'll get new insights into your design and how well the code fits your ideas. For large projects, you'll identify the good and the fragile parts.

Large-scale development is also a social activity, and the team's dynamics influence code quality. That's why this book shows you how to uncover social biases when analyzing the evolution of your system. You'll use commit messages as eyewitness accounts to what is really happening in your code. Finally, you'll put it all together by tracking organizational problems in the code and finding out how to fix them. Come join the hunt for better code!

What You Need:

You need Java 6 and Python 2.7 to run the accompanying analysis tools. You also need Git to follow along with the examples.

View on Amazon View on AbeBooks View on Kobo View on B.Depository View on eBay View on Walmart

Jack the Ripper and legacy codebases have more in common than you'd think. Inspired by forensic psychology methods, you'll learn strategies to predict the future of your codebase, assess refactoring direction, and understand how your team influences the design. With its unique blend of forensic psychology and code analysis, this book arms you with the strategies you need, no matter what programming language you use.

Software is a living entity that's constantly changing. To understand software systems, we need to know where they came from and how they evolved. By mining commit data and analyzing the history of your code, you can start fixes ahead of time to eliminate broken designs, maintenance issues, and team productivity bottlenecks.

In this book, you'll learn forensic psychology techniques to successfully maintain your software. You'll create a geographic profile from your commit data to find hotspots, and apply temporal coupling concepts to uncover hidden relationships between unrelated areas in your code. You'll also measure the effectiveness of your code improvements. You'll learn how to apply these techniques on projects both large and small. For small projects, you'll get new insights into your design and how well the code fits your ideas. For large projects, you'll identify the good and the fragile parts.

Large-scale development is also a social activity, and the team's dynamics influence code quality. That's why this book shows you how to uncover social biases when analyzing the evolution of your system. You'll use commit messages as eyewitness accounts to what is really happening in your code. Finally, you'll put it all together by tracking organizational problems in the code and finding out how to fix them. Come join the hunt for better code!

What You Need:

You need Java 6 and Python 2.7 to run the accompanying analysis tools. You also need Git to follow along with the examples.

More books from Pragmatic Bookshelf

Cover of the book Data Science Essentials in Python by Adam Tornhill
Cover of the book Good Math by Adam Tornhill
Cover of the book Remote Pairing by Adam Tornhill
Cover of the book Programming Clojure by Adam Tornhill
Cover of the book The Cucumber Book by Adam Tornhill
Cover of the book Pragmatic Version Control Using Git by Adam Tornhill
Cover of the book New Programmer's Survival Manual by Adam Tornhill
Cover of the book Test-Driving JavaScript Applications by Adam Tornhill
Cover of the book Scalable Cloud Ops with Fugue by Adam Tornhill
Cover of the book Rails, Angular, Postgres, and Bootstrap by Adam Tornhill
Cover of the book Explore It! by Adam Tornhill
Cover of the book Designed for Use by Adam Tornhill
Cover of the book Manage Your Project Portfolio by Adam Tornhill
Cover of the book Manage It! by Adam Tornhill
Cover of the book CoffeeScript by Adam Tornhill
We use our own "cookies" and third party cookies to improve services and to see statistical information. By using this website, you agree to our Privacy Policy