blib/lib/Data/DynamicValidator/Filter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 16 | 16 | 100.0 |
line | true | false | branch |
---|---|---|---|
32 | 20 | 74 | if ($c =~ /\bsize\b/) |
34 | 3 | 17 | if ($type eq 'HASH') { } |
9 | 8 | elsif ($type eq 'ARRAY') { } | |
39 | 12 | 8 | if ($value) |
44 | 30 | 64 | if ($c =~ /\bvalue\b/) |
45 | 28 | 2 | if defined $data |
47 | 9 | 2 | if ($c =~ /\bindex\b/ and ref $context eq 'HASH' and defined $context->{'index'}) |
51 | 31 | 2 | if ($c =~ /\bkey\b/ and ref $context eq 'HASH' and defined $context->{'key'}) |