Condition Coverage

lib/Text/vCard/Node.pm
Criterion Covered Total %
condition 45 60 75.0


and 3 conditions

line !l l&&!r l&&r condition
160 3 272 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 565 2233 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')
469 34 223 0 $self->{'encoding_out'} ne 'none' and not $self->{'encoding_out'} =~ /UTF-8/i
257 0 0 $self->{'encoding_out'} ne 'none' and not $self->{'encoding_out'} =~ /UTF-8/i and not $self->is_type('b')
223 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 2102 11 727 $first_max and $bytes <= $first_max

or 2 conditions

line l !l condition
78 310 9 $conf->{'encoding_out'} || 'UTF-8'
276 317 0 $self->{'params'}{lc $type} || 1
463 24 226 $t{$backwards} ||= []

or 3 conditions

line l !l&&r !l&&!r condition
70 1 320 1 ref $proto || $proto
131 0 9 271 $self->is_type('q') or $self->is_type('quoted-printable')
140 1 0 279 $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 355 $self->is_type('b') or $self->is_type('base64')
561 0 10 143 $self->is_type('q') or $self->is_type('quoted-printable')
650 0 10 165 $self->is_type('q') or $self->is_type('quoted-printable')
1 0 164 $self->is_type('b') or $self->is_type('base64')