Package proguard.examples
Class CyclomaticComplexity
java.lang.Object
proguard.examples.CyclomaticComplexity
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.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CyclomaticComplexity
public CyclomaticComplexity()
-
-
Method Details
-
main
-