Condition Coverage

lib/URI/Title.pm
Criterion Covered Total %
condition 9 25 36.0


and 3 conditions

line !l l&&!r l&&r condition
40 2 0 1 $res->code >= 400 and $res->code < 500
2 0 1 $res->code >= 400 and $res->code < 500 and $res->code != 404

or 2 conditions

line l !l condition
28 0 3 shift() || 32768
56 0 0 shift() || 16384

or 3 conditions

line l !l&&r !l&&!r condition
43 0 0 0 $res->decoded_content || $res->content
51 2 0 0 $res->decoded_content || $res->content
139 3 0 0 $url or $data
177 0 2 0 $type ||= 'File::Type'->new->checktype_contents($data)
181 2 0 0 $handlers->{$type} || $handlers->{'default'}