Branch Coverage

blib/lib/LyricFinder.pm
Criterion Covered Total %
branch 0 56 0.0


line true false branch
58 0 0 if ($arg =~ /^\-omit$/o) { }
60 0 0 ref $omit ? :
63 0 0 if defined $haveit{$omit} and $haveit{$omit}
78 0 0 unless $haveit{$module} and $module ne "Cache"
84 0 0 if $haveit{'Cache'} and $self->{'-cache'} and not $self->{'-cache'} =~ /^\>/
93 0 0 wantarray ? :
98 0 0 wantarray ? :
105 0 0 if (not $artist && $title or ref $artist or ref $title)
110 0 0 if (not $fetchers or ref $fetchers ne "ARRAY")
122 0 0 if ($@ or not $finderModule)
131 0 0 unless ($finderModule->can("fetch"))
140 0 0 if ($self->{'Error'} eq "Ok")
142 0 0 if (defined $lyrics and $lyrics =~ /\S/o)
157 0 0 if $#{$fetchers;} > 0
171 0 0 unless defined $fetcherspec
172 0 0 unless (ref $fetcherspec)
174 0 0 unless $fetcherspec =~ /\w/
177 0 0 unless $#{$fetcherspec;} >= 0
178 0 0 if ($#{$fetcherspec;} > 0)
180 0 0 if ($specstring =~ /\b(Cache|auto|all)\b/i)
190 0 0 if (grep /$fetcher/, @{$$self{'_FETCHERS'};}) { }
0 0 elsif ($fetcher =~ /^random$/i) { }
0 0 elsif ($fetcher =~ /^Cache$/i and $haveit{'Cache'}) { }
0 0 elsif ($fetcher =~ /^A(?:uto|ll)$/i) { }
202 0 0 if defined $limit and $limit > 0 and $fetchersCnt > $limit
207 0 0 unless ($usedSources{do { $$self{"_FETCHERS"} }->[$random_fetcher]} or grep /do { $$self{"_FETCHERS"} }->[$random_fetcher]/, @{$fetcherspec;})
224 0 0 if defined $limit and $limit > 0 and $limit <= $#tryfetchers
225 0 0 unless ($#tryfetchers >= 0)