| Percentage | Lines | ||
|---|---|---|---|
| Mock |
|
0 % | 830 |
| Instantiator |
|
30 % | 178 |
| HasValue |
|
40 % | 24 |
| Any |
|
50 % | 23 |
| Not |
|
50 % | 24 |
| NoMatchingExpectationException |
|
53 % | 46 |
| UndefinedTargetClass |
|
54 % | 67 |
| InvalidOrderException |
|
55 % | 59 |
| Method |
|
58 % | 39 |
| InvalidCountException |
|
60 % | 77 |
| CRAP Score | Lines | ||
|---|---|---|---|
| Mock::_mockery_handleMethodCall() | 702 | 69 | |
| Mock::mockery_returnValueForMethod() | 272 | 41 | |
| Mock::shouldReceive() | 90 | 42 | |
| Mock::mockery_init() | 56 | 18 | |
| Container::mock() | 45 | 144 | |
| Mock::mockery_verify() | 30 | 14 | |
| Method::getReturnType() | 20 | 17 | |
| Expectation::_matchArg() | 15 | 33 | |
| Mockery::formatArgument() | 14 | 45 | |
| MockConfiguration::getTargetInterfaces() | 13 | 48 | |