| Class | Coverage |
|---|---|
| Celema\Sire\RuleParser | 17% |
| Celema\Sire\Rule\Allowed | 75% |
| Celema\Sire\Rule\Regex | 81% |
| Celema\Sire\Rule\Maximum | 83% |
| Celema\Sire\Rule\Minimum | 83% |
| Class | CRAP | ||
|---|---|---|---|
| Celema\Sire\RuleParser | 17.6% | 8 | 58 |
| Celema\Sire\Rule\Regex | 81.8% | 3 | 5 |
| Celema\Sire\Rule\Maximum | 83.3% | 2 | 2 |
| Celema\Sire\Rule\Minimum | 83.3% | 2 | 2 |
| Method | Coverage |
|---|---|
| isEscapable | 75% |
| treatsMissingAsEmpty | 75% |
| type | 75% |
| validate | 75% |
| validate | 81% |
| isNumericString | 83% |
| matchesEmpty | 83% |
| validate | 83% |
| validate | 83% |
| formatFailure | 85% |
| toStringBoolean | 87% |
| isEmpty | 87% |
| isEmpty | 87% |
| isEmpty | 87% |
| messageKey | 88% |
| Method | CRAP | ||
|---|---|---|---|
| messageKey | 88.2% | 6 | 22 |
| toStringBoolean | 87.5% | 4 | 13 |
| matchesEmpty | 83.3% | 7 | 9 |
| validate | 81.8% | 3 | 5 |
| isEmpty | 87.5% | 3 | 4 |
| isEmpty | 87.5% | 3 | 4 |
| isEmpty | 87.5% | 3 | 4 |
| formatFailure | 85.7% | 3 | 4 |
| isNumericString | 83.3% | 2 | 2 |
| type | 75.0% | 2 | 2 |
| validate | 83.3% | 2 | 2 |
| validate | 83.3% | 2 | 2 |