Branch Coverage

blib/lib/Mac/Glue/Apps/AddressBookExport.pm
Criterion Covered Total %
branch 1 42 2.3


line true false branch
67 1 0 unless $self and ref $self eq 'HASH'
98 0 0 unless $is_mac
103 0 0 if (defined $$self{'out_file'})
105 0 0 unless open FH, '>' . $$self{'out_file'}
110 0 0 if (defined $$self{'template_root'} and defined $$self{'out_dir'})
140 0 0 unless -d $$self{'template_root'}
141 0 0 unless -d $$self{'out_dir'}
142 0 0 unless defined $$self{'vcards'}
158 0 0 if (-r $$self{'template_root'} . '/index.html')
166 0 0 if $tt->error
171 0 0 if (-r $$self{'template_root'} . '/by_name.html')
174 0 0 unless -d $people_dir
180 0 0 unless (defined $letters{$letter})
199 0 0 if $tt->error
201 0 0 unless open FH, ">$people_dir/$letter.html"
229 0 0 unless $is_mac
244 0 0 if $person->prop('image')->get and defined $$self{'skip_with_image'}
272 0 0 unless $vcard
278 0 0 if $name ne ''
279 0 0 if ($l eq '')
289 0 0 if (my $conf = shift())