| Percentage | Lines | ||
|---|---|---|---|
| Connection |
|
39 % | 214 |
| Socket |
|
63 % | 99 |
| MultiLineResponse |
|
83 % | 56 |
| PostArticleCommand |
|
91 % | 72 |
| BodyCommand |
|
100 % | 50 |
| GroupCommand |
|
100 % | 40 |
| HelpCommand |
|
100 % | 28 |
| OverviewCommand |
|
100 % | 58 |
| PostCommand |
|
100 % | 27 |
| QuitCommand |
|
100 % | 14 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Connection::getCompressedResponse() | 56 | 40 | |
| Connection::getMultiLineResponse() | 42 | 27 | |
| Connection::sendCommand() | 7 | 21 | |
| Connection::callCommandHandlerForResponse() | 6 | 23 | |
| Socket::enableCrypto() | 6 | 8 | |
| Socket::gets() | 6 | 8 | |
| Connection::sendArticle() | 6 | 12 | |
| Response::createFromString() | 5 | 23 | |
| Connection::getResponse() | 5 | 20 | |
| Client::authenticate() | 4 | 18 | |