Branch Coverage

lib/Text/vCard/Addressbook.pm
Criterion Covered Total %
branch 25 28 89.2


line true false branch
100 1 7 unless -r $filename
105 0 7 unless $string =~ /\r\n/m
172 13 19 if (defined $conf->{'source_file'})
175 1 12 unless -r $conf->{'source_file'}
184 12 19 if defined $conf->{'source_text'}
220 13 14 wantarray ? :
232 1 0 if defined $coding
265 1 18 if $self->{'encoding_in'} eq 'none'
273 0 19 ref $filename eq 'Path::Class::File' ? :
282 5 20 if ($text =~ /quoted-printable/i)
302 10 51 if ($inside)
303 1 9 if ($line =~ /=$/) { }
310 9 52 if ($line =~ /ENCODING=QUOTED-PRINTABLE/i)
337 20 1 if ($card->{'type'} =~ /VCARD/i) { }