Percentage | Lines | ||
---|---|---|---|
VhostListCommand |
|
0 % | 26 |
Portiere |
|
0 % | 16 |
ManagerFactory |
|
0 % | 16 |
NginxManager |
|
9 % | 127 |
Vhost |
|
23 % | 152 |
VhostDeleteCommand |
|
41 % | 44 |
VhostCreateCommand |
|
47 % | 79 |
Manager |
|
100 % | 71 |
CRAP Score | Lines | ||
---|---|---|---|
VhostCreateCommand::execute() | 20 | 41 | |
NginxManager::listVhosts() | 12 | 15 | |
VhostDeleteCommand::execute() | 6 | 23 | |
NginxManager::deleteVhost() | 6 | 6 | |
Vhost::setEnv() | 6 | 10 | |
VhostListCommand::configure() | 2 | 6 | |
VhostListCommand::execute() | 2 | 10 | |
Portiere::getDefaultCommands() | 2 | 10 | |
ManagerFactory::create() | 2 | 8 | |
NginxManager::getTemplate() | 2 | 7 | |