Branch Coverage

blib/lib/Text/SimpleVcard.pm
Criterion Covered Total %
branch 21 32 65.6


line true false branch
31 8 10 if ($val =~ /=/)
34 2 16 if ($key eq 'ENCODING')
39 16 0 if ($key =~ /TYPE/i) { }
40 16 0 unless isIn($val, @{$$self{'types'};})
45 2 26 if ($enc eq 'QUOTED-PRINTABLE') { }
69 0 0 defined $val ? :
78 0 0 if $hdr
147 0 2 if ($fl ne 'BEGIN:VCARD' and $ll ne 'END:VCARD')
154 0 28 if /^BEGIN:VCARD/
155 0 28 if /^END:VCARD/
156 0 28 if $vCardCnt != 0 or /^END:VCARD/
206 1 7 unless defined $aryRef
210 1 6 unless defined $propRef
246 2 0 if defined $fn
265 9 7 $types ? :
267 16 17 if ($prop->hasType(uc $type))