Branch Coverage

blib/lib/HTTP/Size.pm
Criterion Covered Total %
branch 12 18 66.6


line true false branch
103 7 0 unless (ref $url eq 'URI')
107 2 5 unless ($url->scheme)
115 4 1 unless ($method)
123 2 2 unless (not $method and $response->is_success and $size)
129 0 1 do { not $response->content_length } ? :
1 2 $response->is_success ? :
191 0 1 unless ($size and $HTTP::Size::CONTENT_TYPE eq 'text/html')
192 0 0 wantarray ? :
212 1 0 wantarray ? :