Branch Coverage

blib/lib/Net/CardDAVTalk.pm
Criterion Covered Total %
branch 0 120 0.0


line true false branch
88 0 0 unless $Path
122 0 0 unless $Path
146 0 0 unless $Path
150 0 0 if (defined $Args{'name'})
154 0 0 unless @Params
187 0 0 unless $Data
235 0 0 unless $$Response{"{$NS_D}response"}
240 0 0 unless $$Response{"{$NS_D}propstat"}
241 0 0 unless $$Propstat{"{$NS_D}prop"}{"{$NS_D}resourcetype"}{"{$NS_C}addressbook"}
248 0 0 unless $Report and ref $Report eq 'ARRAY'
251 0 0 if $$item{"{$NS_D}report"}{"{$NS_D}sync-collection"}
256 0 0 unless $ace and ref $ace eq 'ARRAY'
258 0 0 if $$Acl{"{$NS_D}protected"}
260 0 0 unless $user =~ m[^/dav/principals/user/([^/]+)]
262 0 0 if $email eq 'admin'
270 0 0 if $$item{"{$NS_CY}admin"}
271 0 0 if $$item{"{$NS_D}write-content"}
272 0 0 if $$item{"{$NS_D}read"}
282 0 0 unless $Perms
283 0 0 unless $Perms
284 0 0 unless $Perms
285 0 0 unless $Perms
287 0 0 grep({exists $$_{"{$NS_D}write-content"};} @{[] unless $Perms;}) ? :
0 0 grep({exists $$_{"{$NS_D}read"};} @{[] unless $Perms;}) ? :
0 0 grep({exists $$_{"{$NS_D}write-content"};} @{[] unless $Perms;}) ? :
0 0 grep({exists $$_{"{$NS_CY}admin"};} @{[] unless $Perms;}) ? :
0 0 @ShareWith ? :
0 0 $CanSync ? :
317 0 0 unless $Path
318 0 0 unless $VCard->isa('Net::CardDAVTalk::VCard')
342 0 0 unless $CPath
365 0 0 unless $CPath
366 0 0 unless $VCard->isa('Net::CardDAVTalk::VCard')
389 0 0 unless $CPath
421 0 0 unless $CPath
442 0 0 unless $$Response{"{$NS_D}response"}
443 0 0 unless $$Response{"{$NS_D}propstat"}
453 0 0 wantarray ? :
474 0 0 wantarray ? :
502 0 0 unless $$Response{"{$NS_D}response"}
504 0 0 unless $href
505 0 0 if ($$Response{"{$NS_D}prop"}{"{$NS_D}getcontenttype"})
507 0 0 unless $type =~ m[text/(x-)?vcard]
545 0 0 unless $$Response{"{$NS_D}response"}
547 0 0 unless $href
548 0 0 unless $$Response{"{$NS_D}propstat"}
562 0 0 wantarray ? :
585 0 0 wantarray ? :
605 0 0 unless $Path
612 0 0 $Args{'syncToken'} ? :
624 0 0 unless $$Response{"{$NS_D}response"}
631 0 0 unless ($$Response{"{$NS_D}propstat"})
633 0 0 if ($Status =~ / 404 /) { }
646 0 0 unless $$Response{"{$NS_D}propstat"}
649 0 0 if ($Status =~ / 200 /) { }
0 0 elsif ($Status =~ / 404 /) { }
679 0 0 unless $CPath
680 0 0 unless $NewPath
708 0 0 unless $VCard
731 0 0 if ($Path =~ m[^/]) { }