Branch Coverage

blib/lib/String/Util/Match.pm
Criterion Covered Total %
branch 14 14 100.0


line true false branch
77 5 4 if ($ref eq 'ARRAY') { }
1 3 elsif (not $ref) { }
2 1 elsif ($ref eq 'Regexp') { }
79 2 7 if (ref $_ eq 'Regexp') { }
80 1 1 if $needle =~ /$_/
82 2 5 if $needle eq $_
119 1 3 if (ref $substr eq 'Regexp') { }