Branch Coverage

lib/Test/Chai/Core/Assertions/Include.pm
Criterion Covered Total %
branch 20 20 100.0


line true false branch
25 2 24 if defined $msg
28 4 22 if (ref $obj eq 'ARRAY' and ref $val eq 'HASH') { }
6 16 elsif (ref $val eq 'HASH') { }
8 8 elsif (ref $obj eq 'ARRAY') { }
2 6 elsif (ref $obj eq 'HASH') { }
30 3 2 if (eql($obj->[$i], $val))
38 3 3 unless (flag($self, 'negate'))
79 24 22 if is_type($obj, $expected)
88 2 4 grep({$_ eq substr($t, 0, 1);} 'a', 'e', 'i', 'o', 'u') ? :
89 2 4 @$types > 1 && $index == @$types - 1 ? :