Branch Coverage

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


line true false branch
106 20 936 if ($worksheet->{'_is_chartsheet'}) { }
186 20 936 if $worksheet->{'_is_chartsheet'}
209 936 20 unless $worksheet->{'_is_chartsheet'}
233 456 353 unless @{$self->{'_workbook'}{'_charts'};}
259 378 431 unless $self->{'_drawing_count'}
287 882 21 unless $worksheet->{'_has_vml'} or $worksheet->{'_has_header_vml'}
292 53 21 if ($worksheet->{'_has_vml'})
306 22 52 if ($worksheet->{'_has_header_vml'})
338 917 39 unless $worksheet->{'_has_comments'}
367 575 234 unless $total > 0
403 20 936 if $worksheet->{'_is_chartsheet'}
409 936 20 unless $worksheet->{'_is_chartsheet'}
414 18 791 if (my $range_count = scalar @{$self->{'_named_ranges'};})
464 805 4 unless @$properties
491 20 936 if ($worksheet->{'_is_chartsheet'}) { }
507 57 752 if ($self->{'_num_vml_files'})
520 234 575 if ($self->{'_workbook'}{'_str_total'})
525 5 804 if ($self->{'_workbook'}{'_vba_project'})
530 4 805 if (@{$self->{'_workbook'}{'_custom_properties'};})
613 929 27 unless @table_props
657 4 805 if (@{$self->{'_workbook'}{'_custom_properties'};})
686 20 936 if ($worksheet->{'_is_chartsheet'}) { }
700 234 575 if ($self->{'_workbook'}{'_str_total'})
706 5 804 if ($self->{'_workbook'}{'_vba_project'})
730 20 936 if $worksheet->{'_is_chartsheet'}
742 356 580 unless @external_links
778 936 20 unless $worksheet->{'_is_chartsheet'}
784 0 20 unless @external_links
820 469 487 if (@{$worksheet->{'_drawing_links'};} or $worksheet->{'_has_shapes'})
824 497 459 unless @{$worksheet->{'_drawing_links'};}
916 804 5 unless $vba_project
934 7715 6806 if -e $dir
938 0 6806 if (not $ret)