Percentage | Lines | ||
---|---|---|---|
Upgrade |
|
100 % | 25 |
Restore |
|
100 % | 51 |
EnablePrivateNetworking |
|
100 % | 25 |
DropletFactory |
|
100 % | 32 |
DisableBackups |
|
100 % | 25 |
EnableBackups |
|
100 % | 25 |
PowerOff |
|
100 % | 25 |
PasswordReset |
|
100 % | 25 |
Client |
|
100 % | 102 |
CreateSnapshot |
|
100 % | 52 |
CRAP Score | Lines | ||
---|---|---|---|
DropletFactory::getDroplet() | 8 | 24 | |
Resize::__construct() | 6 | 16 | |
Restore::__construct() | 4 | 11 | |
Action::getRequest() | 4 | 17 | |
Rebuild::__construct() | 4 | 10 | |
DropletService::retrieveAll() | 4 | 29 | |
Client::get() | 3 | 10 | |
Client::post() | 3 | 10 | |
Client::send() | 3 | 10 | |
CreateSnapshot::__construct() | 3 | 11 | |