Condition Coverage

blib/lib/vCard.pm
Criterion Covered Total %
condition 18 35 51.4


and 3 conditions

line !l l&&!r l&&r condition
237 0 8 0 $phone->{'type'} and ref $phone->{'type'} ne 'ARRAY'
257 0 8 0 $address->{'type'} and ref $address->{'type'} ne 'ARRAY'
289 0 8 0 $email_address->{'type'} and ref $email_address->{'type'} ne 'ARRAY'
430 50 78 14 $value and $attr eq 'photo'
128 14 0 $value and $attr eq 'photo' and ref $value =~ /^URI/

or 2 conditions

line l !l condition
239 8 0 $phone->{'type'} || []
259 8 0 $address->{'type'} || []
273 0 8 $address->{'pobox'} || ''
0 8 $address->{'extended'} || ''
8 0 $address->{'street'} || ''
8 0 $address->{'city'} || ''
8 0 $address->{'region'} || ''
8 0 $address->{'post_code'} || ''
8 0 $address->{'country'} || ''
291 8 0 $email_address->{'type'} || []