cr.accept(cn, 0);
List methods = cn.methods;
for (int k = 0; k < methods.size(); ++k) {
MethodNode method = (MethodNode) methods.get(k);
if (method.instructions.size() > 0) {
Analyzer a = new Analyzer(new BasicInterpreter());
try {
a.analyze(cn.name, method);
} catch (Throwable th) {
++errors;
}
}
}
}
t = System.currentTimeMillis() - t;
times[13] = Math.min(t, times[13]);
System.out.println("Time to analyze " + classes.size() / 10
+ " classes with BasicInterpreter = " + t + " ms (" + errors
+ " errors)");
}
for (int i = 0; i < 10; ++i) {
int errors = 0;
long t = System.currentTimeMillis();
for (int j = 0; j < classes.size() / 10; ++j) {
byte[] b = (byte[]) classes.get(j);
ClassReader cr = new ClassReader(b);
ClassNode cn = new ClassNode();
cr.accept(cn, 0);
List methods = cn.methods;
for (int k = 0; k < methods.size(); ++k) {
MethodNode method = (MethodNode) methods.get(k);
if (method.instructions.size() > 0) {
Analyzer a = new Analyzer(new SimpleVerifier());
try {
a.analyze(cn.name, method);
} catch (Throwable th) {
++errors;
}
}
}