Branch Coverage

blib/lib/HTTP/Tiny/FromHTTPRequest.pm
Criterion Covered Total %
branch 9 12 75.0


line true false branch
21 0 7 unless @_ >= 2
25 2 5 if (not ref $params[0] and grep {lc $params[0] eq $_;} @methods)
30 3 2 if (&blessed($params[0]) and $params[0]->isa('HTTP::Request')) { }
2 0 elsif (not ref $params[0]) { }
37 0 5 unless $request
46 4 1 if ($content)