randoop.util
Class ClassComplexityCalculator
Object
ClassComplexityCalculator
public final class ClassComplexityCalculator
extends Object
For each class, it can calculate the length of the shortest sequence of method calls that creates an object
of the class (for abstract classes and interfaces: any concrete subclass), using only the classes in the provided set.
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassComplexityCalculator
public ClassComplexityCalculator(Collection<Class<?>> classes)
classComplexity
public int classComplexity(Class<?> c)
main
public static void main(String[] args)
throws ClassNotFoundException
- Throws:
ClassNotFoundException