Branch Coverage

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


line true false branch
100 9 0 unless (ref $url eq 'URI')
104 2 7 unless ($url->scheme)
112 5 2 unless ($method)
120 2 3 unless (not $method and $response->is_success and $size)
126 0 2 do { not $response->content_length } ? :
2 2 $response->is_success ? :
188 0 2 unless ($size and $HTTP::Size::CONTENT_TYPE eq 'text/html')
189 0 0 wantarray ? :
209 2 0 wantarray ? :