Branch Coverage

blib/lib/Excel/Writer/XLSX/Package/Packager.pm
Criterion Covered Total %
branch 64 66 96.9


line true false branch
106 20 976 if ($worksheet->{'_is_chartsheet'}) { }
186 20 976 if $worksheet->{'_is_chartsheet'}
209 976 20 unless $worksheet->{'_is_chartsheet'}
233 472 377 unless @{$self->{'_workbook'}{'_charts'};}
259 384 465 unless $self->{'_drawing_count'}
287 918 21 unless $worksheet->{'_has_vml'} or $worksheet->{'_has_header_vml'}
292 57 21 if ($worksheet->{'_has_vml'})
306 22 56 if ($worksheet->{'_has_header_vml'})
338 953 43 unless $worksheet->{'_has_comments'}
367 612 237 unless $total > 0
403 20 976 if $worksheet->{'_is_chartsheet'}
409 976 20 unless $worksheet->{'_is_chartsheet'}
414 18 831 if (my $range_count = scalar @{$self->{'_named_ranges'};})
464 845 4 unless @$properties
491 20 976 if ($worksheet->{'_is_chartsheet'}) { }
507 61 788 if ($self->{'_num_vml_files'})
520 237 612 if ($self->{'_workbook'}{'_str_total'})
525 6 843 if ($self->{'_workbook'}{'_vba_project'})
530 4 845 if (@{$self->{'_workbook'}{'_custom_properties'};})
615 969 27 unless @table_props
659 4 845 if (@{$self->{'_workbook'}{'_custom_properties'};})
688 20 976 if ($worksheet->{'_is_chartsheet'}) { }
702 237 612 if ($self->{'_workbook'}{'_str_total'})
708 6 843 if ($self->{'_workbook'}{'_vba_project'})
732 20 976 if $worksheet->{'_is_chartsheet'}
744 358 618 unless @external_links
780 976 20 unless $worksheet->{'_is_chartsheet'}
786 0 20 unless @external_links
822 503 493 if (@{$worksheet->{'_drawing_links'};} or $worksheet->{'_has_shapes'})
826 503 493 unless @{$worksheet->{'_drawing_links'};}
918 843 6 unless $vba_project
936 8143 7190 if -e $dir
940 0 7190 if (not $ret)