| Percentage | Lines | ||
|---|---|---|---|
| Version2004Date20190107135757 |
|
0 % | 114 |
| PushController |
|
53 % | 227 |
| Push |
|
67 % | 208 |
| Application |
|
86 % | 52 |
| App |
|
88 % | 44 |
| Handler |
|
92 % | 270 |
| EndpointController |
|
98 % | 205 |
| Generate |
|
100 % | 100 |
| APIController |
|
100 % | 71 |
| AdminNotifications |
|
100 % | 47 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Push::pushToDevice() | 24 | 103 | |
| PushController::registerDevice() | 16 | 63 | |
| Push::encryptAndSign() | 12 | 35 | |
| Version2004Date20190107135757::changeSchema() | 12 | 104 | |
| Handler::sqlWhere() | 10 | 38 | |
| Handler::notificationFromRow() | 8 | 34 | |
| Generate::execute() | 8 | 46 | |
| APIController::generateNotification() | 8 | 38 | |
| EndpointController::listNotifications() | 6 | 35 | |
| PushController::savePushToken() | 6 | 16 | |