Condition Coverage

blib/lib/HTTP/Tiny/Bandwidth.pm
Criterion Covered Total %
condition 0 31 0.0


and 3 conditions

line !l l&&!r l&&r condition
118 0 0 0 @_ == 4 and ref $args eq 'HASH'
120 0 0 0 -e $file and my $mtime = (stat $file)[9]
139 0 0 0 $lm and my $mtime = $self->_parse_http_date($lm)

or 2 conditions

line l !l condition
23 0 0 $previous ||= [[&Time::HiRes::gettimeofday()], 0]
53 0 0 $previous ||= [[&Time::HiRes::gettimeofday()], 0]
78 0 0 $args ||= {}
88 0 0 $args->{'headers'} ||= {}
108 0 0 $res->{'content'} || ''

or 3 conditions

line l !l&&r !l&&!r condition
79 0 0 0 $args->{'content_file'} or $args->{'content_fh'}
118 0 0 0 @_ == 3 or @_ == 4 and ref $args eq 'HASH'
121 0 0 0 $args->{'headers'}{'if-modified-since'} ||= $self->_http_date($mtime)
143 0 0 0 $response->{'success'} ||= $response->{'status'} eq '304'