Branch Coverage

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


line true false branch
26 0 0 if $haveLyricsCache and $self->{'-cache'} and not $self->{'-cache'} =~ /^\>/
38 0 0 unless $self->_check_inputs($artist_in, $song_in)
39 0 0 if $self->{'Error'} ne "Ok"
45 0 0 if ($haveLyricsCache and $self->{'-cache'} and not $self->{'-cache'} =~ /^\>/)
47 0 0 if ($cache)
49 0 0 if (defined $lyrics and $lyrics =~ /\w/)
75 0 0 if ($lyrics and $haveLyricsCache and $self->{'-cache'} and not $self->{'-cache'} =~ /^\
79 0 0 if $cache
90 0 0 if ($html =~ m[\(.+?)\<\/div\>]ism) { }
99 0 0 if ($html =~ /\"artist\_name\"\:\"\Q$artist_in\E\"/i and $html =~ /\"track\_name\"\:\"\Q$song_in\E\"/i) { }
0 0 elsif ($html =~ m[\(.+?)\<\/div\>]ism) { }
103 0 0 $headers =~ m[\(.+?)\<\/h1\>]is ? :
106 0 0 if ($title)
107 0 0 unless ($song_in =~ /^$title$/i)
111 0 0 $headers =~ m[\(.+?)\<\/h2\>]is ? :
114 0 0 if ($artist and not $artist_in =~ /^$artist$/i)