lib/Text/vCard/Node.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 45 | 60 | 75.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
160 | 3 | 271 | 4 | defined $$self{'node_type'} and $$self{'node_type'} eq 'ORG' |
224 | 2 | 1 | 1 | $val and ref $val eq 'ARRAY' |
250 | 0 | 12 | 44 | $value and $value eq 'type' |
270 | 561 | 2217 | 317 | defined $$self{'params'} and exists $$self{'params'}{lc $type} |
304 | 26 | 0 | 12 | defined $$params{'1'} and $$params{'1'} eq 'pref' |
1 | 38 | 0 | defined $params and (defined $$params{'1'} and $$params{'1'} eq 'pref') | |
467 | 34 | 221 | 0 | $$self{'encoding_out'} ne 'none' and not $$self{'encoding_out'} =~ /UTF-8/i |
255 | 0 | 0 | $$self{'encoding_out'} ne 'none' and not $$self{'encoding_out'} =~ /UTF-8/i and not $self->is_type('b') | |
221 | 0 | 0 | $$self{'encoding_out'} ne 'none' and not $$self{'encoding_out'} =~ /UTF-8/i and not $self->is_type('b') and not $self->is_type('base64') | |
600 | 1800 | 9 | 671 | $first_max and $bytes <= $first_max |
line | l | !l | condition |
---|---|---|---|
78 | 309 | 9 | $$conf{'encoding_out'} || 'UTF-8' |
276 | 317 | 0 | $$self{'params'}{lc $type} || 1 |
463 | 24 | 226 | $t{$backwards} ||= [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
70 | 1 | 319 | 1 | ref $proto || $proto |
131 | 0 | 9 | 270 | $self->is_type('q') or $self->is_type('quoted-printable') |
140 | 1 | 0 | 278 | $self->is_type('b') or $self->is_type('base64') |
304 | 12 | 1 | 26 | defined $params and (defined $$params{'1'} and $$params{'1'} eq 'pref') or defined $$params{'pref'} |
499 | 1 | 0 | 353 | $self->is_type('b') or $self->is_type('base64') |
561 | 0 | 10 | 141 | $self->is_type('q') or $self->is_type('quoted-printable') |
650 | 0 | 10 | 163 | $self->is_type('q') or $self->is_type('quoted-printable') |
1 | 0 | 162 | $self->is_type('b') or $self->is_type('base64') |