Your Code as a Crime Scene: Use Forensic Techniques to Arrest Defects, Bottlenecks, and Bad Design in Your Programs (Paperback)
暫譯: 你的程式碼如同犯罪現場:運用取證技術逮捕缺陷、瓶頸與糟糕設計
Adam Tornhill
- 出版商: Pragmatic Bookshelf
- 出版日期: 2015-05-05
- 定價: $1,480
- 售價: 6.0 折 $888
- 語言: 英文
- 頁數: 220
- 裝訂: Paperback
- ISBN: 1680500384
- ISBN-13: 9781680500387
-
相關分類:
軟體工程、軟體架構
-
其他版本:
Your Code as a Crime Scene, Second Edition: Use Forensic Techniques to Arrest Defects, Bottlenecks, and Bad Design in Your Programs
買這商品的人也買了...
-
$590$466 -
$980$833 -
$400$380 -
$450$356 -
$680$578 -
$780$616 -
$560$442 -
$520$411 -
$680$537 -
$620$484 -
$680$537 -
$620$490 -
$780$616 -
$980$774 -
$454JavaEE 開發的顛覆者: Spring Boot實戰
-
$580$458 -
$560$437 -
$520$442 -
$699$552 -
$580$383 -
$590$460 -
$550$435 -
$390$257 -
$480$379 -
$500$395
相關主題
商品描述
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.
商品描述(中文翻譯)
《開膛手傑克》和遺留代碼庫之間有著你想不到的共同點。本書受到法醫心理學方法的啟發,將教你預測代碼庫的未來、評估重構方向,以及理解你的團隊如何影響設計。這本書獨特地結合法醫心理學和代碼分析,為你提供所需的策略,無論你使用哪種程式語言。
軟體是一個不斷變化的活體。要理解軟體系統,我們需要知道它們的來源以及如何演變。通過挖掘提交數據和分析代碼歷史,你可以提前開始修復,以消除破損的設計、維護問題和團隊生產力瓶頸。
在本書中,你將學習法醫心理學技術,以成功維護你的軟體。你將從提交數據中創建地理檔案,以找到熱點,並應用時間耦合概念來揭示代碼中無關區域之間的隱藏關係。你還將衡量代碼改進的有效性。你將學會如何在大型和小型專案上應用這些技術。對於小型專案,你將獲得對設計的新見解,以及代碼如何符合你的想法。對於大型專案,你將識別出良好和脆弱的部分。
大規模開發也是一種社交活動,團隊的動態會影響代碼質量。因此,本書將向你展示如何在分析系統演變時揭示社會偏見。你將使用提交訊息作為目擊證人,了解代碼中實際發生的事情。最後,你將通過追蹤代碼中的組織問題並找出解決方案,將所有內容整合在一起。來加入尋找更好代碼的行列吧!
你需要的工具:
你需要 Java 6 和 Python 2.7 來運行附帶的分析工具。你還需要 Git 來跟隨示例。