line |
true |
false |
branch |
33
|
0 |
772 |
unless $$self{'add_colors'} or $$self{'commify'} |
36
|
710 |
62 |
if ($what eq 'data' or $what eq 'footer') |
37
|
684 |
26 |
if ($$self{'commify'} and $numeric) |
39
|
0 |
684 |
if ($str =~ /\./) |
45
|
430 |
342 |
if ($$self{'add_colors'}) |
47
|
304 |
22 |
$numeric ? : |
|
326 |
104 |
$what eq 'data' ? : |
55
|
0 |
4 |
unless $$self{'recs'} |
66
|
84 |
92 |
unless ($node) |
79
|
4 |
124 |
if $node->address eq '0' |
80
|
40 |
84 |
if ($node->descendants and $$self{'col_sub_total'}) |
93
|
12 |
116 |
if $depth > $tree_depth |
102
|
4 |
0 |
if ($tree_depth > 1) { } |
106
|
4 |
124 |
if $node->address eq '0' |
107
|
40 |
84 |
if ($node->descendants) |
111
|
8 |
76 |
unless $_[0]{'_end_hc'} |
129
|
0 |
0 |
unless defined $value |
130
|
0 |
0 |
unless ($value =~ /^[0-9.]+$/) |
138
|
0 |
0 |
if $all_numeric |
154
|
52 |
20 |
unless ($node) |
169
|
4 |
124 |
unless $node->mother |
170
|
84 |
40 |
unless $node->descendants |
181
|
4 |
124 |
if $node->address eq '0' |
189
|
84 |
40 |
if (defined $node->attributes->{'rowspan'}) |
204
|
4 |
52 |
unless $node->mother |
205
|
36 |
16 |
unless $node->descendants |
216
|
4 |
52 |
if $node->address eq '0' |
231
|
0 |
0 |
if ($$self{'title'}) |
251
|
0 |
1 |
unless $$self{'recs'} |
261
|
189 |
0 |
defined $_ ? : |
271
|
0 |
2 |
unless $$self{'recs'} |
274
|
0 |
2 |
if ($params) |
279
|
0 |
0 |
if (exists $$params{$_}) |
285
|
0 |
2 |
unless $self->_find_headers |
286
|
2 |
0 |
if ($$self{'add_colors'}) |
288
|
0 |
8 |
if (exists $$self{$_ . '_color'}) |
294
|
0 |
6 |
if (exists $$self{"table_$_"}) |
299
|
0 |
2 |
if ($$self{'complete_html_page'}) |
304
|
2 |
0 |
if ($$self{'title_in_header'}) |
312
|
62 |
0 |
if (defined $$col{'rowspan'}) |
323
|
0 |
2 |
if ($$self{'only_html_header'}) |
331
|
2 |
16 |
if ($$rec[0] and $$rec[0] =~ /\bzz+\b/ or $$rec[0] eq 'total') |
338
|
36 |
342 |
if (defined $$self{'recs_formats'}{$_} and defined $$self{'recs_formats'}{$_}{$$rec[$_]}) |
341
|
26 |
10 |
if (@{$$self{'recs_formats'}{$_}{$$rec[$_]};}) { } |
351
|
342 |
26 |
if (defined $$rec[$_] and $$rec[$_] =~ /^[0-9.]+$/) |
357
|
368 |
0 |
defined $$rec[$_] ? : |
365
|
0 |
2 |
if ($$self{'complete_html_page'}) |
380
|
0 |
2 |
unless $self->_find_headers |
394
|
2 |
26 |
unless $n->mother |
406
|
2 |
62 |
unless $n->mother |
407
|
32 |
30 |
$$self{'cols'}[$_[0]{'_depth'} - 1]{'value'} ? : |
423
|
2 |
26 |
unless $n->mother |
424
|
10 |
16 |
if ($n->name eq 'zzzz') |
435
|
8 |
18 |
if $n->descendants |
446
|
2 |
26 |
unless $n->mother |
475
|
18 |
558 |
unless $n->mother |
476
|
36 |
522 |
if $skip-- > 0 |
478
|
180 |
342 |
if ($n->descendants) { } |
495
|
156 |
186 |
if ($value) |
498
|
342 |
0 |
defined $value ? : |
505
|
18 |
558 |
unless $n->mother |
506
|
36 |
522 |
if $skipb-- > 0 |
507
|
180 |
342 |
if ($_[0]{'_blanks'}) { } |
513
|
180 |
342 |
if ($_[0]{'_label'} or $n->descendants) { } |
530
|
0 |
0 |
unless my $fname = shift() |
539
|
0 |
0 |
if ($@) |
542
|
0 |
0 |
unless $$self{'recs'} |
544
|
0 |
0 |
unless my $workbook = 'Spreadsheet::WriteExcel'->new($fname) |
551
|
0 |
0 |
if ($books{'straight'}) |
559
|
0 |
0 |
if ($books{'transpose'}) |
576
|
0 |
5 |
unless $$self{'recs'} and $$self{'NAME'} |
584
|
0 |
5 |
unless exists $structs{$struct} |
586
|
1 |
4 |
if ($struct eq 'lol') |
594
|
4 |
80 |
if @$_ > $depth |
604
|
9 |
27 |
if ($struct eq 'losh') { } |
615
|
0 |
567 |
unless defined $value |
617
|
54 |
513 |
if ($count < $rowheaders) { } |
624
|
171 |
342 |
if ($struct eq 'loh') { } |
|
342 |
0 |
elsif ($struct eq 'hoh') { } |
633
|
9 |
18 |
if $struct eq 'loh' |
642
|
0 |
0 |
unless $$self{'recs'} and $$self{'NAME'} |
645
|
0 |
0 |
if ($wantheader) |
651
|
0 |
0 |
/^[0-9.]+$/ ? : |
|
0 |
0 |
if defined $_ |
661
|
0 |
0 |
unless $$self{'recs'} and $$self{'NAME'} |
664
|
0 |
0 |
if ($@) |
672
|
0 |
0 |
if $str |
673
|
0 |
0 |
defined $str ? : |