| Percentage | Lines | ||
|---|---|---|---|
| PushmixServiceProvider |
|
30 % | 60 |
| PushmixClient |
|
100 % | 179 |
| PushmixMessage |
|
100 % | 294 |
| PushmixChannel |
|
100 % | 35 |
| MissingParameter |
|
100 % | 5 |
| InvalidConfiguration |
|
100 % | 5 |
| CouldNotSendNotification |
|
100 % | 5 |
| CRAP Score | Lines | ||
|---|---|---|---|
| PushmixMessage::toArray() | 12 | 56 | |
| PushmixServiceProvider::boot() | 6 | 23 | |
| PushmixMessage::button() | 4 | 26 | |
| PushmixChannel::send() | 3 | 16 | |
| PushmixClient::initApiUrl() | 2 | 9 | |
| PushmixClient::initKey() | 2 | 12 | |
| PushmixClient::post() | 2 | 7 | |
| PushmixClient::getKey() | 2 | 7 | |
| PushmixMessage::__construct() | 2 | 3 | |
| PushmixClient::getApiUrl() | 1 | 3 | |