| line |
true |
false |
branch |
|
34
|
0 |
0 |
unless ref $args{'parent'} |
|
46
|
0 |
0 |
if -f $fullname or -d $fullname |
|
48
|
0 |
0 |
unless -d $dirname |
|
49
|
0 |
0 |
unless open my $fh, '>:encoding(UTF-8)', $fullname |
|
102
|
0 |
0 |
if ($data ne '') { } |
|
127
|
0 |
0 |
unless defined $string |
|
128
|
0 |
0 |
unless (defined $self->{'_ss_hash'}{$string}) |
|
137
|
0 |
0 |
unless @sorted_ss > 0 |
|
203
|
0 |
0 |
if $i != $id |
|
221
|
0 |
0 |
if ($self->strings->count > 0) |
|
304
|
0 |
0 |
$self->{'excel_version'} eq '2010' ? : |
|
332
|
0 |
0 |
if ($style // '') eq '' |
|
334
|
0 |
0 |
if (defined $self->{'_style_hash'}{$style}) |
|
338
|
0 |
0 |
if (defined $builtin{$style}) { } |
|
356
|
0 |
0 |
if (@custom_formats > 0) |
|
478
|
0 |
0 |
if ($self->strings->count > 0) |
|
583
|
0 |
0 |
if defined $self->{'_sheet_fh'} or defined $self->{'_sheet_id'} |
|
600
|
0 |
0 |
$self->{'excel_version'} eq '2010' ? : |
|
604
|
0 |
0 |
$sheet_id == 1 ? : |
|
608
|
0 |
0 |
$self->{'excel_version'} eq '2010' ? : |
|
611
|
0 |
0 |
if (my(@wkeys) = keys %$width_hash) |
|
617
|
0 |
0 |
unless defined $min and defined $max |
|
618
|
0 |
0 |
unless &looks_like_number($width) |
|
639
|
0 |
0 |
if ($r > 1048576) |
|
640
|
0 |
0 |
unless $self->{'_warn_rows'} |
|
644
|
0 |
0 |
if ($cols > 16384) |
|
645
|
0 |
0 |
unless $self->{'_warn_cols'} |
|
651
|
0 |
0 |
if $self->{'_sheet_cols'} < $cols |
|
652
|
0 |
0 |
$self->{'excel_version'} eq '2010' ? : |
|
657
|
0 |
0 |
if (&looks_like_number($val)) { } |
|
|
0 |
0 |
elsif (($val // '') ne '') { } |
|
658
|
0 |
0 |
if ($s_attr[$c - 1]) { } |
|
680
|
0 |
0 |
unless defined $self->{'_sheet_id'} and defined $self->{'_sheet_name'} and defined $self->{'_sheet_rows'} and defined $self->{'_sheet_cols'} and defined $self->{'_sheet_fh'} |
|
709
|
0 |
0 |
delete $args{'tmp_cleanup'} // 1 ? : |
|
712
|
0 |
0 |
if (defined $compression) |
|
713
|
0 |
0 |
unless &looks_like_number($compression) and $compression >= 0 and $compression <= 9 |
|
716
|
0 |
0 |
$tmp_dir && -d $tmp_dir ? : |
|
737
|
0 |
0 |
if $self->sheets->count == 0 |
|
740
|
0 |
0 |
if (not defined $filename_or_fh) { } |
|
|
0 |
0 |
elsif (&openhandle($filename_or_fh)) { } |
|
747
|
0 |
0 |
unless open $fh, '>', $filename_or_fh |
|
765
|
0 |
0 |
unless $zip->writeToFileHandle($fh) == 0 |