privatefinal Vector summation = new Vector(100000); privatefinal Vector idList = new Vector(100000);
public CGT(String[] args) {
parse(args);
Globals.initialize(ClistPath);
outputStats(args);
}
publicstaticvoid main(String[] args) {
stressOptions.parseCommandLine(args); new CGT(args).run();
}
publicvoid outputStats(String[] args) {
System.out.println("CGT command line options:"); for (String arg : args) {
System.out.println("# " + arg);
}
System.out.println();
System.out.println("CGT parameters");
System.out.println("Seed: " + Utils.SEED);
System.out.println("Number of Random Loop iterations: " + Globals.RANDOM_LOOP);
System.out.println("Number of Static Loop iterations: " + Globals.STATIC_LOOP);
System.out.println("Max number of Methods in the Graph: " + Globals.NUM_TEST_CLASSES);
System.out.println("Verbose function calls: " + Globals.VERBOSE);
if ("".equals(ClistPath)) {
usage(); thrownew Error("TESTBUG: class list path not defined");
}
}
publicvoid usage() {
System.out.println("usage: java CGT [options]");
System.out.println(" -help prints out this message");
System.out.println(" -numTestClass # limits the number of \"Test Methods\" to #");
System.out.println(" -randomcLoop # # of random function calls");
System.out.println(" -staticLoop # # of non-random static function calls");
System.out.println(" -v -verbose turn on verbose mode");
System.out.println(" -path <path to classlist> required, argument so program can find classes");
}
}
Messung V0.5 in Prozent
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.5Bemerkung:
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.