public class CyclomaticComplexity
extends java.lang.Object
This sample application illustrates how to use visitors to iterate over
specific instructions and exception handlers. In this example, it prints out
an approximation of the cyclomatic complexity of all methods, as introduced
by T.J. McCabe in "IEEE Transactions on Software Engineering", p308-320
(Dec 1976)
Usage:
java proguard.examples.CyclomaticComplexity input
where the input can be a jar file or a directory containing jar files.