| Class | Coverage |
|---|---|
| Celemas\Sire\RuleParser | 17% |
| Celemas\Sire\Rule\Allowed | 75% |
| Celemas\Sire\Rule\Regex | 77% |
| Celemas\Sire\Rule\Email | 87% |
| Class | CRAP | ||
|---|---|---|---|
| Celemas\Sire\RuleParser | 17.6% | 8 | 58 |
| Celemas\Sire\Rule\Email | 87.5% | 3 | 5 |
| Celemas\Sire\Rule\Regex | 77.8% | 2 | 3 |
| Method | Coverage |
|---|---|
| isEscapable | 75% |
| treatsMissingAsEmpty | 75% |
| validate | 75% |
| validate | 77% |
| usesNamedTemplate | 78% |
| isNumericString | 83% |
| matchesEmpty | 83% |
| formatFailure | 85% |
| toStringBoolean | 87% |
| isEmpty | 87% |
| isEmpty | 87% |
| isEmpty | 87% |
| validate | 87% |
| messageKey | 88% |
| parseInteger | 88% |
| Method | CRAP | ||
|---|---|---|---|
| messageKey | 88.2% | 6 | 22 |
| toStringBoolean | 87.5% | 4 | 13 |
| matchesEmpty | 83.3% | 7 | 9 |
| usesNamedTemplate | 78.6% | 3 | 9 |
| validate | 87.5% | 3 | 5 |
| isEmpty | 87.5% | 3 | 4 |
| isEmpty | 87.5% | 3 | 4 |
| isEmpty | 87.5% | 3 | 4 |
| formatFailure | 85.7% | 3 | 4 |
| parseInteger | 88.9% | 3 | 3 |
| validate | 77.8% | 2 | 3 |
| isNumericString | 83.3% | 2 | 2 |