Package proguard.examples
Class CyclomaticComplexity
- java.lang.Object
-
- proguard.examples.CyclomaticComplexity
-
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.
-
-
Constructor Summary
Constructors Constructor Description CyclomaticComplexity()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
-