randoop.main
Class DataFlow

Object
  extended by DataFlow

public class DataFlow
extends Object

Computes dynamic data flow information affecting specific branches in sequences. Takes as input a DataFlowInput object, which specifies a set of frontier branches and sequences that reach them. Outputs a DataFlowOutput object, which contains data flow information about the sequences. Usage: DataFlow --scratchdir=

[ --overwrite ] INPUT_FILE Where is a directory where DataFlow will place temporary files. INPUT_FILE is a text file that specifies the input to data flow. It is parsed using the DataFlowInput.parse(File) method.


Field Summary
Modifier and Type Field and Description
static boolean debug_df
           
static String outputfile
           
static boolean overwrite
           
static String scratchdir
           
 
Constructor Summary
Constructor and Description
DataFlow()
           
 
Method Summary
Modifier and Type Method and Description
static Variable find_value_by_name(Sequence seq, String varname)
          Returns the value in the sequence that has the specified name.
static Sequence getSingletonElt(Set<Sequence> witnesses)
           
static void main(String[] args)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

scratchdir

public static String scratchdir

overwrite

public static boolean overwrite

outputfile

public static String outputfile

debug_df

public static boolean debug_df
Constructor Detail

DataFlow

public DataFlow()
Method Detail

main

public static void main(String[] args)
                 throws RandoopTextuiException,
                        Options.ArgException,
                        IOException
Throws:
RandoopTextuiException
Options.ArgException
IOException

getSingletonElt

public static Sequence getSingletonElt(Set<Sequence> witnesses)

find_value_by_name

public static Variable find_value_by_name(Sequence seq,
                                          String varname)
Returns the value in the sequence that has the specified name. Returns null if varname is not found