Branch Coverage

blib/lib/IHeartRadio/Streams.pm
Criterion Covered Total %
branch 0 62 0.0


line true false branch
339 0 0 if ($_[0] =~ /^\!/o) { }
346 0 0 unless defined $okStreams[0]
350 0 0 unless $url
356 0 0 if $html
360 0 0 unless $html
363 0 0 $html =~ /\"streams\"\s*\:\s*\{([^\}]+)\}/ ? :
365 0 0 unless $streamhtml0
373 0 0 if ($streamtype eq 'secure') { }
0 0 elsif ($streamtype eq 'any') { }
381 0 0 $html =~ /\"id\"\s*\:\s*([^\,\s]+)/ ? :
382 0 0 if not $self->{'id'} and $url =~ m[\/([^\/]+)\/?$]
383 0 0 $html =~ /\"callLetters\"\s*\:\s*\"([^\"]+)\"/i ? :
384 0 0 $html =~ /\"description\"\s*\:\s*\"([^\"]+)\"/ ? :
386 0 0 $html =~ /\"image_src\"\s+href=\"([^\"]+)\"/ ? :
394 0 0 if $self->{'streamtype'} =~ /$xp/
398 0 0 if $self->{'streamurl'}
402 0 0 if ($self->{'cnt'} and $self->{'streamtype'} =~ /pls/) { }
404 0 0 if $self->{'streamurl'} =~ m[\/([^\/]+)\.pls$]i
407 0 0 if $html
422 0 0 unless $self->{'cnt'}
428 0 0 if $field =~ /fields/o
447 0 0 if ($field) { }
448 0 0 if ($field eq 'stream') { }
0 0 elsif ($field eq 'streams') { }
449 0 0 wantarray ? :
451 0 0 wantarray ? :
453 0 0 wantarray ? :
499 0 0 defined $_[1] ? :
500 0 0 if $streamNumber > $#{$$self{'streams'};}
501 0 0 if $streamNumber < 0
502 0 0 if $streamNumber < 0