Catch Architectural Decay
Now that we have a deeper understanding of the change coupling algorithm, you are ready to put it to use for evaluating software architectures. This will help you simplify your systems by making them easier to understand and maintain. In addition, acting on unexpected dependencies improves the external quality of your code. Just like hotspots, change coupling also predicts software defects and is particularly good at identifying defect-prone modules. More specifically, change coupling shines when it comes to spotting the severe bugs that tend to be classified as major/high priority by an organization. (See On the Relationship Between Change Coupling and Software Defects [DLR09].)
There are multiple reasons for this ...
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.