COSTA: COSt and Termination Analyzer for Java Bytecode
Step 1.
Class File

Step 2.
a) Choose the method(s) to be analyzed
or Select All
Read methods 56 -- 26 -- 27 Read methods 56 -- 26 -- 30 Read methods 56 -- 31 -- 32 Read methods 56 -- 33 -- 34 Read methods 56 -- 35 -- 36 Read methods 56 -- 25 -- 38 Read methods 56 -- 39 -- 38 <init>()V
<init>(I)V
size()I
isEmpty()Z
push(Ljava/lang/Object;)V
top()Ljava/lang/Object;
pop()Ljava/lang/Object;

b) Select the Cost Model
Number of instructions
Termination
Memory + Garbage Collector
Number of calls to the method in the class

c) Provide an upper bound to check it? No Yes
e.g. [x]=2*x

d) Compute the asymptotic upper bound? No Normal Lazy

e) Select the user interface Automatic Manual