Condition Coverage

blib/lib/HTTP/Size.pm
Criterion Covered Total %
condition 10 16 62.5


and 3 conditions

line !l l&&!r l&&r condition
120 2 2 3 not $method and $response->is_success
4 0 3 not $method and $response->is_success and $size
126 0 2 0 do { $response->content_length } && do { $size = $response->content_length }
188 0 0 2 $size and $HTTP::Size::CONTENT_TYPE eq 'text/html'

or 2 conditions

line l !l condition
97 2 7 shift() || 0
201 1 0 get_size($img) || 0