Branch Coverage

blib/lib/Data/DynamicValidator/Filter.pm
Criterion Covered Total %
branch 16 16 100.0


line true false branch
35 20 68 if ($c =~ /\bsize\b/)
37 3 17 if ($type eq 'HASH') { }
9 8 elsif ($type eq 'ARRAY') { }
42 12 8 if ($value)
47 30 58 if ($c =~ /\bvalue\b/)
48 28 2 if defined $data
50 9 2 if ($c =~ /\bindex\b/ and ref $context eq 'HASH' and defined $$context{'index'})
54 25 2 if ($c =~ /\bkey\b/ and ref $context eq 'HASH' and defined $$context{'key'})