Branch Coverage

blib/lib/LyricFinder/Lrclib.pm
Criterion Covered Total %
branch 0 30 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"
43 0 0 if ($haveLyricsCache and $self->{'-cache'} and not $self->{'-cache'} =~ /^\>/)
45 0 0 if ($cache)
47 0 0 if (defined $lyrics and $lyrics =~ /\w/)
81 0 0 if ($lyrics and $haveLyricsCache and $self->{'-cache'} and not $self->{'-cache'} =~ /^\
85 0 0 if $cache
97 0 0 defined $self->{'-synced'} && $self->{'-synced'} ? :
98 0 0 unless $sync =~ /^(?:y|n|only|ok)/i
99 0 0 !($sync =~ /^(?:NO|OK)/i) ? :
104 0 0 $html =~ /\,\"$whichLyrics\"\:\"([^\"]+)\"(?:\,\"|\})/s ? :
105 0 0 if (defined $lyrics and length $lyrics > 10) { }
0 0 elsif ($i or $sync =~ /^(?:NO|ONLY)/i) { }
116 0 0 $sync =~ /^YES/i ? :