Percentage | Lines | ||
---|---|---|---|
Installer |
|
0 % | 9 |
StandaloneServer |
|
81 % | 380 |
PjbServerStatusCommand |
|
82 % | 87 |
PjbServerStartCommand |
|
82 % | 60 |
Config |
|
90 % | 287 |
PjbServerRevealCommand |
|
91 % | 52 |
CommandRepository |
|
92 % | 31 |
PjbServerRestartCommand |
|
93 % | 56 |
PjbServerStopCommand |
|
93 % | 59 |
LinuxProcess |
|
96 % | 63 |
CRAP Score | Lines | ||
---|---|---|---|
Config::checkConfig() | 26 | 71 | |
StandaloneServer::stop() | 17 | 47 | |
StandaloneServer::start() | 13 | 68 | |
PjbServerStatusCommand::execute() | 10 | 56 | |
PjbServerStartCommand::execute() | 5 | 29 | |
StandaloneServer::getCommand() | 4 | 40 | |
PjbServerRestartCommand::execute() | 4 | 26 | |
PjbServerStopCommand::execute() | 4 | 29 | |
StandaloneServer::isProcessRunning() | 4 | 19 | |
LinuxProcess::kill() | 4 | 22 | |