| Percentage | Lines | ||
|---|---|---|---|
| AuthSwitchResponseCommand |
|
0 % | 102 |
| EOFMessage |
|
13 % | 74 |
| ErrResponseMessage |
|
70 % | 94 |
| HandshakeMessage |
|
70 % | 183 |
| PingCommand |
|
71 % | 82 |
| OkResponseMessage |
|
74 % | 124 |
| ProtocolParser |
|
75 % | 653 |
| PrepareStatementOkMessage |
|
77 % | 94 |
| Driver |
|
79 % | 1039 |
| PromiseCommand |
|
80 % | 232 |
| CRAP Score | Lines | ||
|---|---|---|---|
| ProtocolParser::processBuffer() | 76 | 140 | |
| ProtocolParser::handleMessage() | 51 | 73 | |
| Driver::startHandshake() | 37 | 78 | |
| StatementPrepareCommand::onNext() | 25 | 49 | |
| Driver::createHandshakeResponse() | 24 | 62 | |
| Driver::connect() | 23 | 113 | |
| Driver::beginTransaction() | 18 | 44 | |
| BinaryProtocolValues::decode() | 16 | 66 | |
| ProtocolParser::processCommand() | 12 | 36 | |
| HandshakeMessage::parseProtocol10() | 11 | 58 | |