| Percentage | Lines | ||
|---|---|---|---|
| AmqpTransport |
|
0 % | 32 |
| StreamSocketClient |
|
72 % | 192 |
| UdpTransport |
|
88 % | 99 |
| MessageValidator |
|
97 % | 84 |
| Logger |
|
98 % | 158 |
| HttpTransport |
|
98 % | 201 |
| AbstractTransport |
|
100 % | 25 |
| JsonEncoder |
|
100 % | 13 |
| KeepAliveRetryTransportWrapper |
|
100 % | 9 |
| IgnoreErrorTransportWrapper |
|
100 % | 28 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Publisher::__construct() | 12 | 9 | |
| HttpTransport::__construct() | 12 | 17 | |
| TcpTransport::__construct() | 12 | 16 | |
| Logger::initContext() | 10 | 30 | |
| HttpTransport::fromUrl() | 8 | 34 | |
| StreamSocketClient::write() | 7 | 34 | |
| SslOptions::toStreamContext() | 7 | 26 | |
| StreamSocketClient::setConnectTimeout() | 6 | 7 | |
| AmqpTransport::send() | 6 | 20 | |
| RetryTransportWrapper::send() | 6 | 15 | |