Branch Coverage

blib/lib/Symbol/Approx/Sub.pm
Criterion Covered Total %
branch 33 44 75.0


line true false branch
192 12 2 if @_
208 10 4 if (exists $param{'xform'}) { }
209 7 3 if (defined $param{'xform'}) { }
211 1 6 if ($type eq 'CODE') { }
2 4 elsif ($type eq '') { }
3 1 elsif ($type eq 'ARRAY') { }
220 2 2 if ($type eq 'CODE') { }
1 1 elsif ($type eq '') { }
250 4 8 if (exists $param{'match'}) { }
251 4 0 if (defined $param{'match'}) { }
253 4 0 if ($type eq 'CODE') { }
0 0 elsif ($type eq '') { }
279 1 11 if (exists $param{'choose'}) { }
280 1 0 if (defined $param{'choose'}) { }
282 0 1 if ($type eq 'CODE') { }
1 0 elsif ($type eq '') { }
333 0 14 unless defined &$_
341 16 0 if ($CONF{'match'}) { }
343 0 16 unless defined &{$CONF{'match'};}
358 15 1 if (@match_ind) { }
359 12 3 if (@match_ind == 1) { }
362 0 3 unless defined $CONF{'choose'}