line |
true |
false |
branch |
367
|
0 |
1 |
unless ($$rep{'sth'}) |
368
|
0 |
0 |
unless exists $$rep{'dbh'} |
369
|
0 |
0 |
unless $$rep{'query'} and $$rep{'query'} =~ /^\s*select\b/is |
373
|
1 |
0 |
unless ($$rep{'output'}) |
382
|
1 |
0 |
unless exists $$rep{'param'} |
384
|
0 |
1 |
if $$rep{'noexec'} |
386
|
0 |
0 |
unless ref $$rep{'param'}{$p} |
388
|
0 |
0 |
unless exists $$rep{'param'}{$p}{'n'} |
391
|
0 |
0 |
if (ref $$rep{'param'}{$p}{'n'} eq 'ARRAY') { } |
|
0 |
0 |
elsif (not ref $$rep{'param'}{$p}{'n'}) { } |
400
|
0 |
0 |
if (defined $param{$p} and $param{$p} ne '') { } |
|
0 |
0 |
elsif (defined $$rep{'param'}{$p}{'dflt'}) { } |
404
|
0 |
0 |
if (not ref $val) { } |
|
0 |
0 |
elsif (ref $val eq 'CODE') { } |
|
0 |
0 |
elsif (ref $val eq 'ARRAY' and $$val[0] and ref $$val[0] eq 'CODE') { } |
430
|
0 |
9 |
if $$rep{'max_items'} and $$rep{'max_items'} <= $$rep{'data'}{'num_report'} |
431
|
0 |
9 |
if $rep->Aborted |
436
|
1 |
0 |
if (exists $$rep{'group'}) |
439
|
3 |
8 |
if /prev_(.+)/ |
450
|
0 |
1 |
if $$rep{'dbh'} and $$rep{'autoclose'} |
462
|
9 |
0 |
if (exists $$r{'total'}) |
470
|
2 |
7 |
if defined $group and $$r{'not_first'} |
481
|
3 |
6 |
if defined $group |
484
|
9 |
0 |
if ($$r{'group'} and $$r{'total'}) |
504
|
3 |
3 |
if ($hf eq 'header') |
506
|
3 |
0 |
if ($$r{'total'}) |
525
|
0 |
9 |
unless $$r{'group'} |
529
|
0 |
9 |
unless exists $$r{'row'}{$fname} |
531
|
3 |
6 |
if not exists $$r{'data'}{'prev_' . $fname} or ($$r{'data'}{'prev_' . $fname} ne $$r{'row'}{$fname} or $$r{'data'}{'prev_' . $fname} != $$r{'row'}{$fname}) |
547
|
0 |
17 |
unless $$r{$part} |
550
|
14 |
3 |
if (ref $$r{$part} eq 'ARRAY') { } |
|
3 |
0 |
elsif (ref $$r{$part} eq 'CODE' or not ref $$r{$part}) { } |
559
|
4 |
13 |
if (ref $fmt) { } |
581
|
0 |
17 |
if @par |
583
|
0 |
17 |
if (ref $$r{'output'} eq 'CODE') { } |
|
17 |
0 |
elsif (ref $$r{'output'} eq 'SCALAR') { } |