Condition Coverage

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


and 3 conditions

line !l l&&!r l&&r condition
220 0 8 0 $phone->{'type'} and ref $phone->{'type'} ne 'ARRAY'
244 0 8 0 $address->{'type'} and ref $address->{'type'} ne 'ARRAY'
280 0 8 0 $email_address->{'type'} and ref $email_address->{'type'} ne 'ARRAY'
424 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
222 8 0 $phone->{'type'} || []
246 8 0 $address->{'type'} || []
260 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'} || ''
282 8 0 $email_address->{'type'} || []