blib/lib/Validation/Class/Listing.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 22 | 40.9 |
line | true | false | branch |
---|---|---|---|
19 | 1696 | 940 | if ref $class |
21 | 55 | 2581 | isa_arrayref($_[0]) ? : |
36 | 395 | 183 | 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 | 1529 | 167 | unless @values |
214 | 0 | 167 | if ref $values[0] and ref $values[0] eq ref $self |
252 | 0 | 0 | 'CODE' eq ref $code ? : |