| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | 4 | public function parseResponse($responseLine, Server $server) |
|
| 16 | { |
||
| 17 | 4 | $responseName = $this->getResponseName($responseLine); |
|
| 18 | 4 | $this->ensureValidResponseName($responseName, $server); |
|
| 19 | |||
| 20 | 4 | $data = $this->extractData($responseLine, $server); |
|
| 21 | |||
| 22 | 3 | return new Response($responseName, $data, $server); |
|
| 23 | } |
||
| 24 | |||
| 32 |