CAT-scan a code-base

Posted by & filed under Architecture, Complexity, Dependency Management, Emergent Design, Structure, Structure101.

Structure101 v2 goes beta today. With it you can walk through the code-base in slices from the class-level, to the package-level and up through the design levels, spotting tangles and seeing how far they have spread. This is a snag of the Slice perspective with the slice selector highlighted: You can now see dependency graphs… Read more »

Using Cyclomatic Complexity Effectively

Posted by & filed under Complexity.

I came across an interesting post from Sriram Narayan on the ThoughtWorks blog about how to use Cyclomatic Complexity effectively. Cyclomatic Complexity (CC) being the number of execution paths through a function or method. Sriram makes a case for measuring the CC per 100 lines of code (which he calls CC100).  This concept of an… Read more »