Branch Coverage

blib/lib/WWW/YouTube/Info/Simple.pm
Criterion Covered Total %
branch 22 56 39.2


line true false branch
101 0 0 unless exists $self->{'info'}
102 0 0 if $self->{'info'}{'status'} ne 'ok'
105 0 0 unless $keywords
109 0 0 unless $item
127 0 2 unless exists $self->{'info'}
128 0 2 if $self->{'info'}{'status'} ne 'ok'
132 0 2 if ($fmt_map) { }
135 0 2 unless $self->_fmt_list
142 0 0 unless $quality and $resolution
160 0 1 unless exists $self->{'info'}
161 0 1 if $self->{'info'}{'status'} ne 'ok'
164 0 1 unless $title
198 0 2 unless exists $self->{'info'}
199 0 2 if $self->{'info'}{'status'} ne 'ok'
203 0 2 if ($fmt_url_map) { }
206 0 2 unless $self->_url_encoded_fmt_stream_map
213 0 0 unless $quality and $url
248 0 1 unless exists $self->{'info'}
249 0 1 if $self->{'info'}{'status'} ne 'ok'
252 1 0 unless $conn
263 0 2 unless exists $self->{'info'}
264 0 2 if $self->{'info'}{'status'} ne 'ok'
268 0 2 unless $url_encoded_fmt_stream_map
283 0 8 unless $quality and $url
293 0 2 unless exists $self->{'info'}
294 0 2 if $self->{'info'}{'status'} ne 'ok'
298 0 2 unless $fmt_list
303 0 8 unless $quality and $resolution