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

Method processArgs

src/main/java/pascal/taie/Main.java:70–77  ·  view source on GitHub ↗

If the given options is empty or specify to print help information, then print help and exit immediately.

(String... args)

Source from the content-addressed store, hash-verified

68 * then print help and exit immediately.
69 */
70 private static Options processArgs(String... args) {
71 Options options = Options.parse(args);
72 if (options.isPrintHelp() || args.length == 0) {
73 options.printHelp();
74 System.exit(0);
75 }
76 return options;
77 }
78
79 private static Plan processConfigs(Options options) {
80 InputStream content = Configs.getAnalysisConfig();

Callers 1

mainMethod · 0.95

Calls 4

parseMethod · 0.95
isPrintHelpMethod · 0.95
printHelpMethod · 0.95
exitMethod · 0.80

Tested by

no test coverage detected