| Percentage | Lines | ||
|---|---|---|---|
| ArrayExpectations |
|
28 % | 90 |
| ScalarExpectations |
|
40 % | 92 |
| CommonExpectations |
|
98 % | 380 |
| ArrayValueExpectations |
|
100 % | 34 |
| BooleanExpectations |
|
100 % | 40 |
| ConditionTrait |
|
100 % | 51 |
| FloatExpectations |
|
100 % | 12 |
| IntegerExpectations |
|
100 % | 28 |
| NumericExpectations |
|
100 % | 91 |
| StringExpectations |
|
100 % | 44 |
| CRAP Score | Lines | ||
|---|---|---|---|
| ArrayExpectations::isAny() | 20 | 14 | |
| ArrayExpectations::isAll() | 20 | 14 | |
| ConditionTrait::else() | 6 | 4 | |
| ArrayExpectations::__construct() | 2 | 4 | |
| ArrayExpectations::isEmpty() | 2 | 4 | |
| ArrayExpectations::isNotEmpty() | 2 | 4 | |
| BooleanExpectations::__construct() | 2 | 6 | |
| CommonExpectations::isNot() | 2 | 4 | |
| CommonExpectations::hasLength() | 2 | 11 | |
| ConditionTrait::approveIf() | 2 | 6 | |