MCPcopy Index your code
hub / github.com/zaproxy/zaproxy / start

Method start

zap/src/main/java/org/zaproxy/zap/ZapBootstrap.java:68–85  ·  view source on GitHub ↗

Starts the bootstrap process. @return the return code of the program

()

Source from the content-addressed store, hash-verified

66 * @return the return code of the program
67 */
68 public int start() {
69 try {
70 Constant.createInstance(controlOverrides);
71 } catch (final Throwable e) {
72 System.err.println(e.getMessage());
73 return 1;
74 }
75
76 Constant.setLowMemoryOption(getArgs().isLowMem());
77
78 if (getArgs().isNoStdOutLog()) {
79 disableStdOutLog();
80 }
81
82 setLogLevel(getArgs().getLogLevel());
83
84 return 0;
85 }
86
87 protected static void disableStdOutLog() {
88 LoggerContext.getContext().getConfiguration().getRootLogger().removeAppender("stdout");

Callers 1

mainMethod · 0.95

Calls 10

createInstanceMethod · 0.95
setLowMemoryOptionMethod · 0.95
getArgsMethod · 0.95
disableStdOutLogMethod · 0.95
setLogLevelMethod · 0.95
isLowMemMethod · 0.80
isNoStdOutLogMethod · 0.80
getLogLevelMethod · 0.80
getMessageMethod · 0.65
printlnMethod · 0.45

Tested by

no test coverage detected