Branch Coverage

blib/lib/HTTP/DAV/Utils.pm
Criterion Covered Total %
branch 7 38 18.4


line true false branch
16 0 1 unless @param
19 0 1 if (ref $param[0] eq 'HASH') { }
27 0 1 unless defined $param[0] and substr($param[0], 0, 1) eq '-' or &use_named_parameters()
35 0 2 ref $_ eq 'ARRAY' ? :
44 1 0 if (exists $pos{$key}) { }
51 0 1 if %leftover
64 0 0 unless defined $use_named
73 0 0 unless $attr and ref $attr and ref $attr eq 'HASH'
79 0 0 defined $$attr{$_} ? :
96 0 0 if $node
111 0 0 if ($node->getNodeTypeName eq 'TEXT_NODE') { }
131 0 0 unless $node
144 0 0 if ($node->getNodeName =~ /(?:^|:)$elemname$/)
155 0 0 unless $node
158 0 0 if ($elemname) { }
169 0 0 if $node->getNodeName =~ /$elemname/
186 0 0 if ($node->getNodeTypeName eq 'ELEMENT_NODE')
205 0 8 if (ref($uri) =~ /URI/)
291 0 0 if $HTTP::DAV::DEBUG > 1