| Percentage | Lines | ||
|---|---|---|---|
| NeedCaptchaAuthException |
|
0 % | 7 |
| RequestNotPassedException |
|
0 % | 26 |
| ThrottleRequests |
|
0 % | 125 |
| ServiceProvider |
|
83 % | 28 |
| Client |
|
100 % | 84 |
| Response |
|
100 % | 101 |
| CRAP Score | Lines | ||
|---|---|---|---|
| ThrottleRequests::processTooManyAttempts() | 30 | 17 | |
| ThrottleRequests::handle() | 20 | 25 | |
| ThrottleRequests::joinKeyToCache() | 6 | 8 | |
| ThrottleRequests::existsInCacheForRequest() | 6 | 4 | |
| Client::__construct() | 5 | 9 | |
| ServiceProvider::register() | 4 | 15 | |
| Response::level() | 3 | 8 | |
| Client::ticketVerify() | 2 | 18 | |
| ThrottleRequests::hit() | 2 | 4 | |
| Response::parseResult() | 2 | 11 | |