| Percentage | Lines | ||
|---|---|---|---|
| MultipartRequest |
|
71 % | 63 |
| UsageException |
|
87 % | 62 |
| MediawikiSession |
|
89 % | 154 |
| ClientFactory |
|
89 % | 80 |
| MiddlewareFactory |
|
92 % | 140 |
| MediawikiApi |
|
92 % | 516 |
| SimpleRequest |
|
100 % | 48 |
| FluentRequest |
|
100 % | 109 |
| ApiUser |
|
100 % | 75 |
| CRAP Score | Lines | ||
|---|---|---|---|
| MiddlewareFactory::newRetryDecider() | 12 | 74 | |
| MediawikiSession::getNewTokenType() | 10 | 16 | |
| ApiUser::__construct() | 7 | 12 | |
| MediawikiApi::logWarning() | 5 | 23 | |
| ClientFactory::newClient() | 5 | 32 | |
| MediawikiApi::logWarnings() | 5 | 17 | |
| MediawikiApi::getPostRequestEncoding() | 4 | 11 | |
| MultipartRequest::checkMultipartParams() | 4 | 10 | |
| ApiUser::equals() | 4 | 6 | |
| MiddlewareFactory::getRetryDelay() | 4 | 21 | |