Rating | Name | Duplication | Size | Complexity | CRAP | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|---|
B | Gelf\Logger::initContext() | 0 | 23 | 10 | 10 | 0 | 0 | 0 |
B | Transport\HttpTransport::fromUrl() | 0 | 15 | 8 | 8 | 2 | 1 | 0 |
B | Transport\SslOptions::toStreamContext() | 0 | 14 | 7 | 7 | 1 | 0 | 0 |
B | Gelf\Transport\HttpTransport::send() | 0 | 26 | 6 | 6 | 1 | 0 | 0 |
A | Transport\StreamSocketClient::write() | 0 | 17 | 6 | 7.33 | 4 | 0 | 0 |
A | Gelf\Message::logLevelToSyslog() | 0 | 12 | 6 | 6 | 2 | 0 | 0 |
A | Gelf\Message::toArray() | 0 | 14 | 6 | 6 | 4 | 1 | 0 |
A | Transport\RetryTransportWrapper::send() | 0 | 10 | 6 | 6 | 1 | 0 | 0 |
A | SslOptionsTest::testToStreamContext() | 0 | 28 | 1 | ? | 2 | 0 | 0 |
A | LoggerTest.php$0 ➔ testLogException() | 0 | 27 | 2 | ? | 0 | 0 | 0 |
A | HttpTransportTest::testSendCompressed() | 0 | 25 | 1 | ? | 1 | 0 | 0 |
A | MessageValidator::validate0100() | 0 | 13 | 5 | 5 | 2 | 0 | 0 |
A | StreamSocketClient::buildSocket() | 0 | 22 | 3 | 3 | 0 | 0 | 0 |
A | LoggerTest.php$0 ➔ providerLogContextWithStructuralValues() | 0 | 22 | 1 | ? | 0 | 0 | 0 |
A | SslOptionsTest::testToStreamContextWithHostname() | 0 | 21 | 3 | ? | 2 | 0 | 0 |