blib/lib/Plack/Middleware/ParseContent.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 8 | 21 | 38.1 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
61 | 0 | 0 | 4 | $content and $contentType |
69 | 0 | 0 | 4 | $content and $acceptedMimeType |
74 | 0 | 1 | 3 | $resp and ref($resp) =~ /^HASH/i |
1 | 3 | 0 | $resp and ref($resp) =~ /^HASH/i and exists $resp->{'enctype'} | |
84 | 0 | 0 | 0 | ref($data) =~ /^HASH/i and not $param =~ /^query\./ |
104 | 0 | 4 | 0 | $data and ref $data eq 'Hash::MultiValue' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
55 | 4 | 0 | 0 | $method eq 'POST' or $method eq 'PUT' |