Branch Coverage

blib/lib/Symbol/Approx/Sub.pm
Criterion Covered Total %
branch 44 48 91.6


line true false branch
246 22 1 if @_
258 0 31 unless exists $defaults{$_}
285 8 15 unless (exists $param->{'xform'})
292 7 8 unless (defined $param->{'xform'})
298 1 7 if ($type eq 'CODE') { }
3 4 elsif ($type eq '') { }
3 1 elsif ($type eq 'ARRAY') { }
307 2 2 if ($type eq 'CODE') { }
1 1 elsif ($type eq '') { }
336 11 10 unless (exists $param->{'match'})
343 1 9 unless (defined $param->{'match'})
349 6 3 if ($type eq 'CODE') { }
1 2 elsif ($type eq '') { }
372 14 5 unless (exists $param->{'choose'})
379 1 4 unless (defined $param->{'choose'})
387 1 3 if ($type eq 'CODE') { }
1 2 elsif ($type eq '') { }
423 0 16 unless defined &$_
432 22 3 if ($CONF{'match'}) { }
435 0 22 unless defined &{$CONF{'match'};}
448 23 2 if (@match_ind) { }
449 17 6 if (@match_ind == 1) { }
454 0 6 unless defined $CONF{'choose'}
457 1 22 if ($CONF{'suggest'}) { }