randoop.util
Class ClassComplexityCalculator

Object
  extended by 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.


Constructor Summary
Constructor and Description
ClassComplexityCalculator(Collection<Class<?>> classes)
           
 
Method Summary
Modifier and Type Method and Description
 int classComplexity(Class<?> c)
           
static void main(String[] args)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassComplexityCalculator

public ClassComplexityCalculator(Collection<Class<?>> classes)
Method Detail

classComplexity

public int classComplexity(Class<?> c)

main

public static void main(String[] args)
                 throws ClassNotFoundException
Throws:
ClassNotFoundException