Branch Coverage

blib/lib/Sub/Way.pm
Criterion Covered Total %
branch 17 18 94.4


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