| Percentage | Lines | ||
|---|---|---|---|
| XmlLoadException |
|
0 % | 69 |
| DummyTransport |
|
0 % | 13 |
| Guzzle6Transport |
|
33 % | 30 |
| HttpClientTransport |
|
40 % | 31 |
| UnknownErrorResponseException |
|
40 % | 41 |
| Response |
|
70 % | 129 |
| CurlExtensionTransport |
|
100 % | 23 |
| SendMethods |
|
100 % | 54 |
| Sms |
|
100 % | 341 |
| Factory |
|
100 % | 30 |
| CRAP Score | Lines | ||
|---|---|---|---|
| XmlLoadException::decodeXmlError() | 30 | 28 | |
| Response::__construct() | 11 | 45 | |
| Client::send() | 8 | 42 | |
| Client::prepareRequest() | 7 | 37 | |
| XmlLoadException::__construct() | 6 | 9 | |
| Factory::createTransport() | 6 | 20 | |
| Sms::setValidityPeriod() | 4 | 12 | |
| Sms::setDeliveryStart() | 3 | 10 | |
| Client::prepareRecipients() | 3 | 21 | |
| Client::getSenderParams() | 3 | 15 | |