Branch Coverage

blib/lib/Net/DAVTalk.pm
Criterion Covered Total %
branch 0 92 0.0


line true false branch
98 0 0 unless ($Params{'url'})
103 0 0 if (delete $Params{'expandurl'})
140 0 0 if (@_) { }
163 0 0 if ($URL =~ m[^https?://]) { }
167 0 0 unless ($Hostname)
171 0 0 $HTTPS ? :
214 0 0 if $path =~ m[^/]
240 0 0 $path eq '' ? :
282 0 0 unless defined $Content
289 0 0 if ($Self->{'user'})
293 0 0 if ($Self->{'headers'})
310 0 0 if ($Response->{'status'} == 599 and $Response->{'content'} =~ /timed out/i)
320 0 0 if ($ENV{'DEBUGDAV'})
329 0 0 if ($Response->{'status'} == 599 and $Response->{'content'} =~ /timed out/i)
341 0 0 if ($ENV{'DEBUGDAV'})
347 0 0 if ($Method eq "REPORT" and $Response->{'status'} == 403)
350 0 0 if (exists $Xml->{'{DAV:}valid-sync-token'})
362 0 0 unless ($Response->{'success'})
372 0 0 if (grep {$Method eq $_;} "GET", "DELETE" or $Response->{'status'} != 207 or not $ResponseContent)
386 0 0 if (exists $Xml->{'{DAV:}response'})
387 0 0 if (ref $Xml->{'{DAV:}response'} ne "ARRAY")
392 0 0 if (exists $Response->{'{DAV:}propstat'})
393 0 0 unless (ref $Response->{'{DAV:}propstat'} eq "ARRAY")
412 0 0 if ($Struct->{'error'})
428 0 0 wantarray ? :
451 0 0 ref $_ ? :
458 0 0 unless $$Response{"{$NS_D}response"}
459 0 0 unless $$Response{"{$NS_D}propstat"}
465 0 0 ref $Prop ? :
468 0 0 if ($Key =~ /:/) { }
475 0 0 if (ref $Result eq 'ARRAY') { }
0 0 elsif (defined $Result) { }
490 0 0 wantarray ? :
507 0 0 if (ref $Class)
517 0 0 unless @BasePath
522 0 0 if (my $Principal = $Self->GetProps("", ["D:current-user-principal", "D:href"]))
528 0 0 unless @BasePath
549 0 0 if (ref $Class)
560 0 0 if (my $Homeset = $Self->GetProps("", ["$Args{'homesetns'}:$HomeSet", "D:href"]))
594 0 0 if ($Self->{'password'})
598 0 0 if ($Self->{'access_token'})
622 0 0 if (ref $Path)
626 0 0 if ($Path)
628 0 0 if ($Path =~ m[^/]) { }
681 0 0 unless @_
685 0 0 unless @_