Inspect the Modus Operandi of a Code Change
During the crash course in Learn Geographical Profiling of Crimes, you saw how linking related crimes allows predictions, which in turn enables possible counter-steps. We can do the same with code.
In programming, version-control data lets us trace changes over a series of commits to detect patterns. One prominent pattern is called change coupling. Change coupling means that two (or more) modules evolve together over time. As such, change coupling implies a temporal dependency, which cannot be detected in code alone; a static snapshot of code lacks the evolutionary perspective.
The preceding figure ...
Get Your Code as a Crime Scene, Second Edition, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.