Condition Coverage

blib/lib/HTTP/DAV/Comms.pm
Criterion Covered Total %
condition 6 41 14.6


and 3 conditions

line !l l&&!r l&&r condition
72 0 1 0 defined $headers and ref $headers eq 'HTTP::Headers'
0 0 1 defined $headers and ref $headers eq 'HASH'
151 0 0 0 $newheaders and not ref($newheaders) =~ /Headers/
176 0 0 0 $content and $content =~ /<\?xml/i
197 0 0 0 defined $save_to and $save_to ne ''
365 3 1 3 exists $$self{'basic_authentication'}{$netloc} and exists $$self{'basic_authentication'}{$netloc}{$realm}
452 0 0 0 defined $headers and ref($headers) =~ /Headers/

or 2 conditions

line l !l condition
402 0 0 $$self{'basic_authentication'}{$netloc}{$realm} || $$self{'basic_authentication'}{'default'}{$realm} || $$self{'basic_authentication'}{$netloc}{'default'} || []

or 3 conditions

line l !l&&r !l&&!r condition
17 0 1 0 ref $class || $class
132 0 0 0 not defined $method or $method eq ''
0 0 0 not defined $method or $method eq '' or not $method =~ /^\w+$/
209 0 0 0 $code == &HTTP::Status::RC_MOVED_PERMANENTLY or $code == &HTTP::Status::RC_MOVED_TEMPORARILY
230 0 0 0 ++$count > 13 or $r->request->url->as_string eq $referral_uri->as_string
447 0 0 0 ref $class || $class