PET: Partial Evaluation-based Test Case Generator for Bytecode

Target Class and its Dependencies


Class: Arithmetic

Dependencies:

PET Arguments

a) Choose the method to generate test-cases for:

string(62) "javap -classpath ../../../../examples/ints -s Arithmetic 2>&1 " string(94) "Warning: File ../../../../examples/ints/Arithmetic.class does not contain class Arithmetic
" string(35) "Compiled from "Arithmetic.java"
" string(34) "public class ints.Arithmetic {
" array(4) { [0]=> string(25) "c class ints.Arithmetic {" [1]=> string(2) "c " ["name"]=> string(15) "ints.Arithmetic" [2]=> string(15) "ints.Arithmetic" } <init>()V
exp(II)I
factbug(I)I
fact(I)I
lcm(II)I
lcm_exc(II)I
complain()I
lcm2(II)I
gcd(II)I
egcd(II)I
factRec(I)I
abs(I)I
mod(II)I
swap(II)V
main([Ljava/lang/String;)V

b) Coverage criterion: Block-k: Depth-k:

c) Get numeric test-cases or path-constraints: Path-constraints Numeric (In this case a range must be especified in step d)

d) Specify the range of integers to take data from: None Range: ..

e) Labeling strategy (see the SWI-Prolog CLPFD library) : ff    leftmost    min    max   

f) References aliasing: Don't alias    Might alias    CLP Heap Solver

g) Verbosity level: 1   2   3

h) Generate JUnit test:    Type: no   minimum complete   Use reflection: no yes

i) Tracing: no   statements   blocks

j) Check code coverage: no   yes

l) Compositional TDG: no   yes