| Percentage | Lines | ||
|---|---|---|---|
| ImposterBuilder |
|
67 % | 29 |
| Juggler |
|
82 % | 277 |
| Imposter |
|
87 % | 209 |
| MountebankException |
|
100 % | 49 |
| PredicateFactory |
|
100 % | 43 |
| ResponseFactory |
|
100 % | 27 |
| MountebankExceptionFactory |
|
100 % | 60 |
| GuzzleClient |
|
100 % | 142 |
| HttpImposter |
|
100 % | 141 |
| Injection |
|
100 % | 60 |
| CRAP Score | Lines | ||
|---|---|---|---|
| HttpImposterBuilder::build() | 6 | 19 | |
| Juggler::getHttpImposter() | 6 | 12 | |
| IsResponse::createFromContract() | 5 | 13 | |
| Stub::__construct() | 5 | 14 | |
| Stub::getResponseOfType() | 5 | 13 | |
| Imposter::findRequests() | 4 | 21 | |
| GuzzleClient::request() | 4 | 17 | |
| HttpImposter::serializeRequests() | 4 | 14 | |
| ProxyResponse::createFromContract() | 4 | 12 | |
| ImposterBuilder::validateContractProtocol() | 3 | 9 | |