Branch Coverage

blib/lib/Array/Contains.pm
Criterion Covered Total %
branch 11 12 91.6


line true false branch
21 1 9 unless (defined $value)
25 2 7 unless (defined $dataset)
29 1 6 if (ref $value ne '')
33 2 4 if (ref $dataset ne 'ARRAY')
38 0 28 if ref $key ne ''
39 2 26 if ($value eq $key)