| blib/lib/Text/MatchedPosition.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 8 | 10 | 80.0 |
| line | true | false | branch |
|---|---|---|---|
| 13 | 5 | 2 | ref $text eq 'SCALAR' ? : |
| 15 | 1 | 6 | if (ref $regex ne 'Regexp') |
| 31 | 6 | 0 | unless $$self{'position'} |
| 39 | 0 | 6 | unless $$self{'position'} |
| 47 | 1 | 5 | unless ($self->text =~ $self->regex) |