| blib/lib/Data/TableReader/Field.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 21 | 24 | 87.5 |
| line | true | false | branch |
|---|---|---|---|
| 20 | 23 | 92 | defined $f ? : |
| 0 | 115 | if (ref $f) { } | |
| 24 | 1 | 76 | if ($self->coerce) |
| 25 | 0 | 1 | unless ref $self->coerce eq "CODE" or defined $self->type and ref($self->type)->can("coerce") |
| 36 | 63 | 11 | unless (defined $h) |
| 43 | 4 | 70 | if ref $h eq "Regexp" |
| 44 | 3 | 84 | $_ eq "\n" ? : |
| 87 | 27 | if defined $_ | |
| 58 | 1 | 65 | unless $t |
| 59 | 61 | 4 | unless ref $t |
| 60 | 2 | 2 | if ref $t eq "CODE" |
| 61 | 2 | 0 | if ref $t eq "Regexp" |