Condition Coverage

blib/lib/REST/Resource.pm
Criterion Covered Total %
condition 10 16 62.5


and 3 conditions

line !l l&&!r l&&r condition
357 0 0 0 $status == 200 and defined $method
868 2 2 6 defined $useragent and $useragent =~ /Gecko/i
871 1 4 1 $$mimetypes{'text/html'} and $$mimetypes{'application/xml'}
878 0 0 1 defined $useragent and $useragent =~ /MSIE/

or 2 conditions

line l !l condition
412 18 84 $$this{'methods'}{$method} || undef
853 12 0 $req->http('HTTP_ACCEPT') || ';'