Condition Coverage

blib/lib/App/MBUtiny/Storage/HTTP.pm
Criterion Covered Total %
condition 0 70 0.0


and 3 conditions

line !l l&&!r l&&r condition
173 0 0 0 $attr && isnt_void($attr)
214 0 0 0 $attr && isnt_void($attr)
270 0 0 0 $attr && isnt_void($attr)
323 0 0 0 $attr && isnt_void($attr)
341 0 0 0 $ostat and grep {$_ eq $name;} @ls
371 0 0 0 $attr && isnt_void($attr)
441 0 0 0 -e $file and -f $file
515 0 0 0 $expected_length and $fh

or 2 conditions

line l !l condition
129 0 0 array($http_node, 'url') || []
132 0 0 value($http_node, 'comment') || ''
154 0 0 $self->{'http_storages'} || []
201 0 0 $params{'size'} || 0
206 0 0 $storage->{'comment'} || ''
237 0 0 $info{'size'} || 0
285 0 0 $res->content_length || 0
287 0 0 filesize($file) // 0
415 0 0 $params{'ua_opts'} ||= {'agent', "MBUtiny/$App::MBUtiny::Storage::HTTP::Client::VERSION"}
416 0 0 $params{'content_type'} ||= 'application/octet-stream'
417 0 0 $params{'no_check_redirect'} //= 1
428 0 0 $self->request('GET', $self->_merge_path_query($args{'path'}, $args{'host'})) || ''
435 0 0 $args{'file'} || ''
442 0 0 -s $file || 0
483 0 0 $res->code || 0
484 0 0 $res->message || ''
485 0 0 $res->content_length || 0
486 0 0 $res->content_type || ''
493 0 0 $args{'file'} || ''
504 0 0 $res->content_length || 0

or 3 conditions

line l !l&&r !l&&!r condition
436 0 0 0 $args{'name'} || basename($file)
494 0 0 0 $args{'name'} || basename($file)