line |
true |
false |
branch |
49
|
4 |
18 |
if defined $_[0] |
68
|
1 |
1 |
if (/csv/) |
69
|
0 |
1 |
if (/xls/) |
83
|
2 |
0 |
if $$data{'sheetname'} |
86
|
0 |
2 |
if ($$data{'notes'} and @{$$data{'notes'};}) |
103
|
2 |
0 |
if ($$data{'sheetname'}) |
116
|
0 |
2 |
if ($$data{'notes'} and @{$$data{'notes'};}) |
144
|
0 |
0 |
unless $$tab{'headings'} |
156
|
0 |
0 |
if length $name > 31 |
162
|
0 |
0 |
ref $_ eq 'ARRAY' ? : |
186
|
0 |
0 |
if $$line[$i] and length _text_of($$line[$i]) > ($cols[$i] || 0) |
209
|
0 |
0 |
unless exists $$chart{$method} |
214
|
0 |
0 |
if (scalar keys %props > 0) |
215
|
0 |
0 |
if (exists $props{'name_formula'}) |
223
|
0 |
0 |
if (defined $$chart{'abs_row'}) { } |
242
|
0 |
0 |
if $cols[$i] < 6 |
243
|
0 |
0 |
if $cols[$i] > 60 |
267
|
0 |
0 |
ref $texts eq 'ARRAY' ? : |
280
|
0 |
0 |
if (defined $$img{'row'}) |
290
|
0 |
52 |
if ref $cell eq 'ARRAY' |
291
|
52 |
0 |
defined $cell ? : |
297
|
0 |
0 |
unless $$img{'filename'} =~ m[^https?://] |
299
|
0 |
0 |
if (exists $$fmts{'_tempfiles'}{$$img{'filename'}} and -f $$fmts{'_tempfiles'}{$$img{'filename'}}) |
305
|
0 |
0 |
unless ($response->is_success) |
309
|
0 |
0 |
if (my $dst = 'File::Temp'->new('UNLINK', 0)) |
324
|
0 |
0 |
if ($method eq 'image') { } |
|
0 |
0 |
elsif ($method eq 'header' or $method eq 'footer') { } |
|
0 |
0 |
elsif ($worksheet->can($method)) { } |
325
|
0 |
0 |
unless ref $params eq 'ARRAY' |
327
|
0 |
0 |
unless _cache_image_file($fmts, $img) |
339
|
0 |
0 |
unless ref $params eq 'ARRAY' |
342
|
0 |
0 |
if ($$hdr{'colspan'} or $$hdr{'rowspan'}) { } |
356
|
0 |
0 |
if (not $$hdr{'colspan'} and defined $colsref) |
371
|
0 |
0 |
if defined $colsref |
377
|
0 |
0 |
ref $params eq 'ARRAY' ? : |
386
|
0 |
0 |
if exists $legal_name{$_} |
389
|
0 |
0 |
if (scalar keys %vals != scalar keys %$fmt) |
416
|
0 |
0 |
unless $colourval =~ /^#/ |
417
|
0 |
0 |
unless (exists $$fmts{'colours'}{$colourval}) |
426
|
0 |
0 |
if (ref $cell eq 'ARRAY' and @$cell == 2 and ref $$cell[1] eq 'HASH') |
428
|
0 |
0 |
$merged ? : |
430
|
0 |
0 |
unless (exists $$fmts{$fmt_key}) |
441
|
0 |
0 |
if (ref $cell eq 'ARRAY') { } |
455
|
0 |
2 |
if $format |
456
|
0 |
2 |
if $filename |
458
|
2 |
0 |
if ($self->filename) { } |
459
|
0 |
2 |
unless $filehandle = 'IO::File'->new('>' . $self->filename) |
473
|
2 |
0 |
if ($self->filehandle) |