Branch Coverage

blib/lib/Audio/Scrobbler.pm
Criterion Covered Total %
branch 0 62 0.0


line true false branch
67 0 0 if (exists $args{'cfg'} and ref $args{'cfg'} eq 'HASH') { }
91 0 0 if $err
140 0 0 unless $ua = $self->get_ua
145 0 0 if $$self{'cfg'}{'verbose'}
147 0 0 if ($$self{'cfg'}{'fake'})
148 0 0 if $$self{'cfg'}{'verbose'}
154 0 0 unless ($req)
159 0 0 if $$self{'cfg'}{'verbose'}
161 0 0 if (not $resp) { }
0 0 elsif (not $resp->is_success) { }
170 0 0 if $$self{'cfg'}{'verbose'}
176 0 0 if (/^FAILED\s+(.*)/)
180 0 0 if (/^BADUSER\b/)
184 0 0 if (/^UPTODATE\b/)
189 0 0 if (/^UPDATE\s+(.*)/)
198 0 0 if $$self{'cfg'}{'verbose'}
265 0 0 unless (defined $$self{'nexturl'} and defined $$self{'md5ch'})
269 0 0 unless (defined $$info{'title'} and defined $$info{'album'} and defined $$info{'artist'} and defined $$info{'length'} and $$info{'length'} =~ /^\d+$/)
286 0 0 unless ($req)
300 0 0 if $$self{'cfg'}{'verbose'}
302 0 0 if ($$self{'cfg'}{'fake'})
303 0 0 if $$self{'cfg'}{'verbose'}
307 0 0 unless $ua = $self->get_ua
309 0 0 if (not $resp) { }
0 0 elsif (not $resp->is_success) { }
318 0 0 if $$self{'cfg'}{'verbose'}
321 0 0 if /^OK\b/
324 0 0 if (/^FAILED\s+(.*)/)
328 0 0 if (/^BADUSER\b/)
335 0 0 if $$self{'cfg'}{'verbose'}
360 0 0 unless ($$self{'ua'})