| blib/lib/Validation/Class/Listing.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 9 | 22 | 40.9 |
| line | true | false | branch |
|---|---|---|---|
| 19 | 1682 | 906 | if ref $class |
| 21 | 55 | 2533 | isa_arrayref($_[0]) ? : |
| 36 | 389 | 180 | isa_arrayref($_[0]) ? : |
| 126 | 0 | 0 | unless 'REGEXP' eq uc ref $pattern |
| 137 | 0 | 0 | $self->defined($index) ? : |
| 147 | 0 | 0 | unless grep {$function eq $_;} 'sort', 'rsort', 'nsort', 'rnsort' |
| 151 | 0 | 0 | if $keys[0] eq ref $self |
| 157 | 0 | 0 | unless defined $keys[$i] |
| 212 | 1512 | 170 | unless @values |
| 214 | 0 | 170 | if ref $values[0] and ref $values[0] eq ref $self |
| 252 | 0 | 0 | 'CODE' eq ref $code ? : |