Branch Coverage

blib/lib/Map/Tube/Plugin/FuzzyFind.pm
Criterion Covered Total %
branch 0 66 0.0


line true false branch
210 0 0 if (scalar @tmpargs == 1) { }
0 0 elsif (scalar @tmpargs == 2 and ref $tmpargs[1] eq 'HASH') { }
0 0 elsif (scalar(@tmpargs) % 2) { }
211 0 0 if (ref $tmpargs[0] eq 'HASH') { }
238 0 0 unless defined $pattern
242 0 0 if $args{'objects'} eq 'nodes'
244 0 0 ref $args{'search'} eq 'Regexp' ? :
248 0 0 if ($args{'objects'} eq 'lines') { }
0 0 elsif ($args{'objects'} eq 'stations') { }
260 0 0 if ($nmethod == 1) { }
0 0 elsif ($nmethod == 2) { }
0 0 elsif ($nmethod == 3) { }
0 0 elsif ($nmethod == 4) { }
0 0 elsif ($nmethod >= 5 and $nmethod <= 8) { }
278 0 0 unless ref $pattern eq 'Regexp'
288 0 0 if ($nmethod == 5) { }
0 0 elsif ($nmethod == 6) { }
0 0 elsif ($nmethod == 7) { }
0 0 elsif ($nmethod == 8) { }
293 0 0 unless $loaded
296 0 0 Text::Soundex::soundex_unicode($_[0]) eq $pattern_soundex ? :
304 0 0 unless $loaded
307 0 0 Text::Metaphone::Metaphone($_[0]) eq $pattern_metacode ? :
315 0 0 unless $loaded
325 0 0 unless $loaded
329 0 0 if $st_args{'minSim'} < 0
330 0 0 if $st_args{'minSim'} > 1
340 0 0 $nresults ? :
356 0 0 unless $distance{$a} <=> $distance{$b}
357 0 0 unless $args{'maxdist'} <= 0
364 0 0 if (wantarray)
365 0 0 if $args{'maxsize'} == 0 or scalar @result <= $args{'maxsize'}
369 0 0 unless @result