Branch Coverage

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


line true false branch
96 0 0 unless ($Params{'url'})
101 0 0 if (delete $Params{'expandurl'})
138 0 0 if (@_) { }
160 0 0 if ($URL =~ m[^https?://]) { }
164 0 0 unless ($Hostname)
168 0 0 $HTTPS ? :
211 0 0 if $path =~ m[^/]
237 0 0 $path eq '' ? :
261 0 0 unless defined $Content
268 0 0 if ($Self->{'user'})
272 0 0 if ($Self->{'headers'})
289 0 0 if ($Response->{'status'} == '599' and $Response->{'content'} =~ /timed out/i)
296 0 0 if ($ENV{'DEBUGDAV'})
305 0 0 if ($Response->{'status'} == '599' and $Response->{'content'} =~ /timed out/i)
314 0 0 if ($ENV{'DEBUGDAV'})
320 0 0 if ($Method eq 'REPORT' and $Response->{'status'} == 403)
323 0 0 if (exists $Xml->{'{DAV:}valid-sync-token'})
330 0 0 unless ($Response->{'success'})
337 0 0 if (grep {$Method eq $_;} 'GET', 'DELETE' or $Response->{'status'} != 207 or not $ResponseContent)
348 0 0 if (exists $Xml->{'{DAV:}response'})
349 0 0 if (ref $Xml->{'{DAV:}response'} ne 'ARRAY')
354 0 0 if (exists $Response->{'{DAV:}propstat'})
355 0 0 unless (ref $Response->{'{DAV:}propstat'} eq 'ARRAY')
376 0 0 wantarray ? :
399 0 0 ref $_ ? :
406 0 0 unless $$Response{"{$NS_D}response"}
407 0 0 unless $$Response{"{$NS_D}propstat"}
413 0 0 ref $Prop ? :
416 0 0 if ($Key =~ /:/) { }
423 0 0 if (ref $Result eq 'ARRAY') { }
0 0 elsif (defined $Result) { }
438 0 0 wantarray ? :
455 0 0 if (ref $Class)
465 0 0 unless @BasePath
470 0 0 if (my $Principal = $Self->GetProps('', ['D:current-user-principal', 'D:href']))
476 0 0 unless @BasePath
497 0 0 if (ref $Class)
508 0 0 if (my $Homeset = $Self->GetProps('', ["$Args{'homesetns'}:$HomeSet", 'D:href']))
542 0 0 if ($Self->{'password'})
546 0 0 if ($Self->{'access_token'})
570 0 0 if (ref $Path)
574 0 0 if ($Path)
576 0 0 if ($Path =~ m[^/]) { }
629 0 0 unless @_
633 0 0 unless @_