Branch Coverage

blib/lib/Sub/Way.pm
Criterion Covered Total %
branch 12 18 66.6


line true false branch
13 5 3 if (ref $cond eq 'ARRAY') { }
14 0 5 if ($and) { }
16 0 0 unless _match($target, $c)
22 5 2 if _match($target, $c)
27 3 0 if _match($target, $cond)
36 9 1 if (not ref $cond or ref $cond eq 'Regexp') { }
1 0 elsif (ref $cond eq 'CODE') { }
37 7 2 if $target =~ /$cond/
40 1 0 if &$cond($target)