Branch Coverage

blib/lib/Net/CardDAVTalk.pm
Criterion Covered Total %
branch 0 118 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
214 0 0 if ($Args{'Sync'})
238 0 0 unless $$Response{"{$NS_D}response"}
243 0 0 unless $$Response{"{$NS_D}propstat"}
244 0 0 unless $$Propstat{"{$NS_D}prop"}{"{$NS_D}resourcetype"}{"{$NS_C}addressbook"}
251 0 0 unless $ace and ref $ace eq 'ARRAY'
253 0 0 if $$Acl{"{$NS_D}protected"}
255 0 0 unless $user =~ m[^/dav/principals/user/([^/]+)]
257 0 0 if $email eq 'admin'
265 0 0 if $$item{"{$NS_CY}admin"}
266 0 0 if $$item{"{$NS_D}write-content"}
267 0 0 if $$item{"{$NS_D}read"}
277 0 0 unless $Perms
278 0 0 unless $Perms
279 0 0 unless $Perms
280 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 unless $Perms
0 0 grep({exists $$_{"{$NS_CY}admin"};} @{[] unless $Perms;}) ? :
0 0 @ShareWith ? :
283 0 0 if ($Args{'Sync'})
312 0 0 unless $Path
313 0 0 unless $VCard->isa('Net::CardDAVTalk::VCard')
337 0 0 unless $CPath
360 0 0 unless $CPath
361 0 0 unless $VCard->isa('Net::CardDAVTalk::VCard')
384 0 0 unless $CPath
416 0 0 unless $CPath
437 0 0 unless $$Response{"{$NS_D}response"}
438 0 0 unless $$Response{"{$NS_D}propstat"}
448 0 0 wantarray ? :
469 0 0 wantarray ? :
497 0 0 unless $$Response{"{$NS_D}response"}
499 0 0 unless $href
500 0 0 if ($$Response{"{$NS_D}prop"}{"{$NS_D}getcontenttype"})
502 0 0 unless $type =~ m[text/(x-)?vcard]
540 0 0 unless $$Response{"{$NS_D}response"}
542 0 0 unless $href
543 0 0 unless $$Response{"{$NS_D}propstat"}
557 0 0 wantarray ? :
580 0 0 wantarray ? :
600 0 0 unless $Path
607 0 0 $Args{'syncToken'} ? :
619 0 0 unless $$Response{"{$NS_D}response"}
626 0 0 unless ($$Response{"{$NS_D}propstat"})
628 0 0 if ($Status =~ / 404 /) { }
641 0 0 unless $$Response{"{$NS_D}propstat"}
644 0 0 if ($Status =~ / 200 /) { }
0 0 elsif ($Status =~ / 404 /) { }
674 0 0 unless $CPath
675 0 0 unless $NewPath
703 0 0 unless $VCard
726 0 0 if ($Path =~ m[^/]) { }