blib/lib/Net/CardDAVTalk/VCard.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 185 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
264 | 0 | 0 | 0 | ref $Encoding and lc $Encoding->[0] eq 'b' |
308 | 0 | 0 | 0 | $Version and $Version->[0] >= 4 |
316 | 0 | 0 | 0 | not $_->{'params'}{'value'} and $Prop eq 'tel' |
379 | 0 | 0 | 0 | $_ and $Map->{$_} |
408 | 0 | 0 | 0 | @_ and $Self->{'ReadOnly'} |
411 | 0 | 0 | 0 | $Props->{$Prop} && $Props->{$Prop}[0] |
414 | 0 | 0 | 0 | not $V and @_ |
443 | 0 | 0 | 0 | !defined($_) || $_ eq '' and not $V->{'values'} |
453 | 0 | 0 | 0 | $V->{'values'} and &all(sub { $$_ eq ''; } , @{$$V{'values'};}) |
608 | 0 | 0 | 0 | $N->{'contact_type'} eq ($E->{'online_type'} // $E->{'contact_type'}) and $N->{'value'} eq ($E->{'online_value'} // $E->{'value'}) |
658 | 0 | 0 | 0 | $EType and $Labels |
661 | 0 | 0 | 0 | $Type and $Type eq $EType |
744 | 0 | 0 | 0 | @_ and $Self->{'ReadOnly'} |
791 | 0 | 0 | 0 | $Prop ne 'online' and $E |
0 | 0 | 0 | $Prop ne 'online' and $E and $Self->VIsSame($Prop, $E, $N) | |
873 | 0 | 0 | 0 | @_ and $Self->{'ReadOnly'} |
line | l | !l | condition |
---|---|---|---|
257 | 0 | 0 | $_ // '' |
291 | 0 | 0 | $_->{'group'} // '' |
298 | 0 | 0 | $_->{'params'}{'type'} //= [] |
339 | 0 | 0 | $_->{'params'}{'x-service-type'} // [] |
0 | 0 | +($_->{'params'}{'x-service-type'} // [])->[0] // '' | |
341 | 0 | 0 | $IMPPProtoPrefixes{$Type} // ['x-apple'] |
343 | 0 | 0 | $IMPPServiceTypeMap{$Type} // 'chat' |
351 | 0 | 0 | $_->{'params'}{'type'} // [] |
0 | 0 | +($_->{'params'}{'type'} // [])->[0] // '' | |
353 | 0 | 0 | $XSocialProfileTypeMap{$Type} // 'other' |
375 | 0 | 0 | $Props->{$Prop} || (next) |
380 | 0 | 0 | $_->{'params'}{'type'} // [] |
382 | 0 | 0 | $ContactType // 'other' |
404 | 0 | 0 | $Item //= 'value' |
450 | 0 | 0 | $_ // '' |
534 | 0 | 0 | $Self->V('n', 'honorificprefixs', @_) // '' |
548 | 0 | 0 | $Self->V('n', 'surnames', @_) // '' |
553 | 0 | 0 | $Self->V('fn', 'value', @_) // '' |
557 | 0 | 0 | (shift())->V('nickname', 'value', @_) // '' |
562 | 0 | 0 | $Self->VDate($Self->V('bday')) // '0000-00-00' |
569 | 0 | 0 | (shift())->V('org', 'company', @_) // '' |
572 | 0 | 0 | (shift())->V('org', 'department', @_) // '' |
575 | 0 | 0 | (shift())->V('title', 'value', @_) // '' |
579 | 0 | 0 | (shift())->V('note', 'value', @_) // '' |
603 | 0 | 0 | $N->{$_} // '' |
622 | 0 | 0 | $E->{'params'}{'type'} //= [] |
656 | 0 | 0 | $E->{'params'}{'type'} // [] |
660 | 0 | 0 | $_->{'params'}{'type'} // [] |
679 | 0 | 0 | $Params // {} |
711 | 0 | 0 | $Params->{'type'} //= [] |
746 | 0 | 0 | $Props->{$Prop} // [] |
761 | 0 | 0 | $_->{'params'}{'type'} // [] |
778 | 0 | 0 | $New->{$a} // '' |
815 | 0 | 0 | $_->{'params'}{'type'} //= [] |
820 | 0 | 0 | $_->{'params'}{'type'} //= [] |
865 | 0 | 0 | (shift())->V('x-addressbookserver-kind', 'value', @_) // 'contact' |
905 | 0 | 0 | $Self->{'vchanged'} // {} |
913 | 0 | 0 | (shift())->MMeta('SF:flagged', @_) || 0 |
917 | 0 | 0 | (shift())->MMeta('CY:importance', @_) || 0 |
930 | 0 | 0 | $Self->{'metachanged'} // {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
29 | 0 | 0 | 0 | ref $Proto || $Proto |
55 | 0 | 0 | 0 | ref $Proto || $Proto |
83 | 0 | 0 | 0 | ref $Proto || $Proto |
245 | 0 | 0 | 0 | $_->{'value'} // $_->{'values'} |
250 | 0 | 0 | 0 | eval { do { &decode_utf8($_) } } // $_ |
352 | 0 | 0 | 0 | $_->{'params'}{'x-user'}[0] // $_->{'value'} |
380 | 0 | 0 | 0 | $_->{'online_type'} || () |
443 | 0 | 0 | 0 | !defined($_) || $_ eq '' |
461 | 0 | 0 | 0 | $Prop eq 'n' or $Prop eq 'org' |
595 | 0 | 0 | 0 | $Prop eq 'email' or $Prop eq 'tel' |
598 | 0 | 0 | 0 | $N->{'contact_type'} eq $E->{'contact_type'} or $N->{'value'} eq $E->{'value'} |
603 | 0 | 0 | 0 | $N->{'contact_type'} eq $E->{'contact_type'} or &all(sub { ($N->{$_} // '') eq $E->{$_}; } , @VItemADR) |
608 | 0 | 0 | 0 | $E->{'online_type'} // $E->{'contact_type'} |
0 | 0 | 0 | $E->{'online_value'} // $E->{'value'} | |
689 | 0 | 0 | 0 | $N->{'online_type'} // $N->{'contact_type'} |
690 | 0 | 0 | 0 | $N->{'online_value'} // $N->{'value'} |
720 | 0 | 0 | 0 | $VCardNewOnlineMap{$Type} // $VCardNewOnlineMap{'other'} |
831 | 0 | 0 | 0 | $Prop eq 'email' or $Prop eq 'tel' |
0 | 0 | 0 | $Prop eq 'email' or $Prop eq 'tel' or $Prop eq 'adr' |