| Percentage | Lines | ||
|---|---|---|---|
| UndefinedCommandException |
|
71 % | 26 |
| TelnetClient |
|
94 % | 289 |
| InterpretAsCommand |
|
100 % | 69 |
| PromptMatcher |
|
100 % | 68 |
| TelnetResponse |
|
100 % | 53 |
| CRAP Score | Lines | ||
|---|---|---|---|
| TelnetClient::getResponse() | 11 | 51 | |
| TelnetClient::__destruct() | 6 | 8 | |
| TelnetClient::connect() | 5 | 22 | |
| InterpretAsCommand::interpret() | 5 | 25 | |
| PromptMatcher::isMatch() | 4 | 32 | |
| TelnetClient::factory() | 2 | 8 | |
| UndefinedCommandException::getCommand() | 2 | 4 | |
| TelnetClient::setReadTimeout() | 2 | 11 | |
| TelnetClient::execute() | 2 | 9 | |
| TelnetClient::write() | 2 | 8 | |