| Percentage | Lines | ||
|---|---|---|---|
| EmailMessage |
|
84 % | 126 |
| TwilioTexter |
|
94 % | 44 |
| PlivoTexter |
|
94 % | 44 |
| Channels |
|
100 % | 29 |
| Notifier |
|
100 % | 28 |
| Recipients |
|
100 % | 18 |
| SmsMessage |
|
100 % | 47 |
| ChannelNotFound |
|
100 % | 7 |
| SendingNotificationFailed |
|
100 % | 41 |
| SendingMessageFailed |
|
100 % | 7 |
| CRAP Score | Lines | ||
|---|---|---|---|
| SmsChannel::send() | 6 | 23 | |
| EmailChannel::send() | 4 | 19 | |
| Notifier::send() | 3 | 8 | |
| PlivoTexter::__construct() | 2 | 11 | |
| TwilioTexter::__construct() | 2 | 11 | |
| Channels::__construct() | 2 | 6 | |
| Channels::get() | 2 | 8 | |
| EmailMessage::getSender() | 2 | 4 | |
| EmailMessage::getReplyTo() | 2 | 4 | |
| EmailMessage::getCc() | 2 | 4 | |