Branch Coverage

blib/lib/WWW/Bleep.pm
Criterion Covered Total %
branch 12 46 26.0


line true false branch
134 1 0 if (length $args{'cat'} > 3) { }
136 1 0 unless ($args{'cat'} =~ /_DM$/)
142 0 1 if ($$self{'_response'}->is_success) { }
147 0 0 if ($$token[1]{'class'} and $$token[1]{'class'} eq 'bleep2selectionTitle')
152 0 0 if (not $album{'artist'} and $$token[3][0] and $$token[3][0] eq 'href')
154 0 0 if ($$token[2]{'href'} =~ /^search\.php/)
161 0 0 if (not $album{'title'} and $$token[1] =~ /^(.+) \($slimcat\)$/)
173 0 0 if ($$token[0] eq 'T' and $$token[1] =~ m[(\d{1,2}) / (\d{1,4})])
179 0 0 if ($$token[0] eq 'S' and $$token[1] eq 'td' and $$token[2]{'width'} and $$token[2]{'width'} eq '24')
195 0 0 if ($2) { }
255 0 1 if ($$self{'_response'}->is_success) { }
261 0 0 unless ($url eq 'javascript:void(0);')
265 0 0 if ($$self{'_artists'}) { }
303 1 0 if ($args{'artist'} or $args{'label'} or $args{'album'}) { }
304 1 0 if ($args{'artist'})
307 0 1 if ($args{'label'})
310 0 1 if ($args{'album'})
316 0 1 if ($$self{'_response'}->is_success) { }
322 0 0 if ($$self{'_parser'}->get_trimmed_text('/td') eq 'TRACKS')
326 0 0 unless (not $url or $url eq 'javascript:void(0);')
331 0 0 if ($$self{'_tracks'}) { }
357 2 0 if ($_[0]) { }
363 7 6 if ($val < 48 or $val > 57 and $val < 65 or $val > 90)