Branch Coverage

blib/lib/Roku/ECP.pm
Criterion Covered Total %
branch 0 36 0.0


line true false branch
167 0 0 if defined $args{'hostname'}
168 0 0 if defined $args{'addr'}
169 0 0 unless (defined $args{'hostname'} or defined $args{'addr'})
176 0 0 if defined $args{'port'}
179 0 0 defined $$retval{'addr'} ? :
220 0 0 if ($method eq 'GET') { }
0 0 elsif ($method eq 'POST') { }
228 0 0 unless ($result->code =~ /^2..$/)
265 0 0 unless ($$result{'status'})
350 0 0 if (defined $contentid)
354 0 0 if (defined $mediatype)
360 0 0 unless ($$result{'status'})
438 0 0 unless (defined $$self{'apps'})
448 0 0 unless $$app{'name'} eq $appname
452 0 0 unless defined $id
490 0 0 unless ($$result{'status'})
530 0 0 unless $result
665 0 0 unless ($$result{'status'})