MCPcopy Create free account
hub / github.com/LFYSec/MScan / parse

Method parse

src/main/java/pascal/taie/config/Options.java:325–328  ·  view source on GitHub ↗

Parses arguments and return the parsed and post-processed Options.

(String... args)

Source from the content-addressed store, hash-verified

323 * Parses arguments and return the parsed and post-processed Options.
324 */
325 public static Options parse(String... args) {
326 Options options = CommandLine.populateCommand(new Options(), args);
327 return postProcess(options);
328 }
329
330 /**
331 * Validates input options and do some post-process on it.

Callers 13

testHelpMethod · 0.95
testJavaVersionMethod · 0.95
testPrependJVMMethod · 0.95
testMainClassMethod · 0.95
testAllowPhantomMethod · 0.95
testAnalysesMethod · 0.95
testKeepResultMethod · 0.95
testClasspathMethod · 0.95
processArgsMethod · 0.95
buildWorldMethod · 0.95
summarizeStyleViolationsFunction · 0.45
processXMLMapperMethod · 0.45

Calls 1

postProcessMethod · 0.95

Tested by 8

testHelpMethod · 0.76
testJavaVersionMethod · 0.76
testPrependJVMMethod · 0.76
testMainClassMethod · 0.76
testAllowPhantomMethod · 0.76
testAnalysesMethod · 0.76
testKeepResultMethod · 0.76
testClasspathMethod · 0.76