Branch Coverage

blib/lib/LyricFinder.pm
Criterion Covered Total %
branch 0 48 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 and $fetcherspec
173 0 0 if ($fetcherspec and not ref $fetcherspec and not $fetcherspec =~ /^auto$/i) { }
0 0 elsif (ref $fetcherspec eq 'ARRAY') { }
175 0 0 if (grep /$fetcherspec/, @{$$self{'_FETCHERS'};}) { }
0 0 elsif ($fetcherspec =~ /^random$/i) { }
0 0 elsif ($fetcherspec =~ /^Cache$/i and $haveit{'Cache'}) { }
0 0 elsif ($fetcherspec =~ /^All$/i) { }
183 0 0 unless ($usedSources{do { $$self{"_FETCHERS"} }->[$random_fetcher]})
200 0 0 if (grep /$fetcher/, @{$$self{'_FETCHERS'};}) { }
211 0 0 if defined $limit and $limit > 0 and $limit < scalar @tryfetchers