lib/WWW/Crawler/Mojo.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 14 | 17 | 82.3 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
129 | 1 | 0 | 25 | $res->headers->content_length and $res->body |
134 | 0 | 2 | 23 | $type and $type =~ qr"^(text|application)/(html|xml|xhtml)"u |
152 | 0 | 24 | 1 | $type and $type =~ qr"text/css"u |
179 | 67 | 3 | 3 | $params and $method eq 'GET' |
185 | 67 | 3 | 3 | $params and $method eq 'POST' |
line | l | !l | condition |
---|---|---|---|
86 | 2 | 11 | $job->method || 'get' |