line |
true |
false |
branch |
40
|
0 |
5 |
unless ($self->{'outfile'})
|
46
|
0 |
5 |
unless ($workbook = 'Excel::Writer::XLSX'->new($self->{'outfile'}))
|
135
|
1 |
0 |
unless (defined $bind_value)
|
162
|
1 |
0 |
if (defined $query_name)
|
190
|
2 |
7 |
if (defined $query_name)
|
216
|
2 |
1 |
if (defined $query_name)
|
222
|
3 |
0 |
unless (defined $bind_value)
|
238
|
3 |
0 |
if (exists $opt->{'data'})
|
239
|
0 |
3 |
if (defined $opt->{'data'} and ref $opt->{'data'} eq 'ARRAY') { }
|
251
|
96 |
0 |
if (exists $opt->{'data'})
|
273
|
1 |
0 |
unless (defined $bind_value)
|
279
|
0 |
1 |
unless (defined $merge_last)
|
300
|
2 |
56 |
if (&List::MoreUtils::PP::any(sub {
$_ eq $row_ref->[0];
}
, @{$standalone;})) { }
|
|
56 |
0 |
elsif ($temp_count < $threshold) { }
|
307
|
48 |
8 |
if ($temp_count < $threshold) { }
|
323
|
1 |
0 |
if ($temp_count > 0)
|
324
|
1 |
0 |
if ($merge_last) { }
|
325
|
0 |
1 |
if (@combined == 0)
|
350
|
1 |
0 |
unless (defined $bind_value)
|
372
|
1000 |
0 |
if ($temp_count < $small_chunk) { }
|
376
|
19 |
981 |
if ($temp_count >= $small_chunk)
|
389
|
1 |
0 |
if ($temp_count > 0)
|
426
|
1 |
12 |
if ($temp_length >= $all_length * $portion)
|
439
|
1 |
0 |
unless (defined $bind_value)
|
467
|
0 |
0 |
unless (&List::MoreUtils::PP::any(sub {
$_ =~ /$table_name/i;
}
, @table_names))
|
485
|
0 |
0 |
unless ($field)
|
502
|
0 |
0 |
unless ($count)
|
537
|
1 |
0 |
unless (defined $bind_value)
|
575
|
0 |
0 |
if ($total_length <= 5000000) { }
|
|
0 |
0 |
elsif ($total_length <= 10000000) { }
|
|
0 |
0 |
elsif ($total_length <= 100000000) { }
|
|
0 |
0 |
elsif ($total_length <= 1000000000) { }
|
591
|
0 |
0 |
if ($total_length <= 1000000) { }
|
|
0 |
0 |
elsif ($total_length <= 5000000) { }
|
673
|
1 |
0 |
unless (defined $y_last_column)
|
680
|
1 |
0 |
unless (defined $x_min_scale)
|
683
|
1 |
0 |
if (not defined $x_max_scale and exists $opt->{'x_scale_unit'})
|
692
|
1 |
0 |
if (exists $opt->{'y_data'})
|
731
|
0 |
1 |
exists $opt->{'cross'} ? :
|
743
|
1 |
0 |
defined $y_scale ? :
|
784
|
1 |
0 |
unless (defined $x_min_scale)
|
787
|
1 |
0 |
if (not defined $x_max_scale and exists $opt->{'x_scale_unit'})
|
796
|
1 |
0 |
if (exists $opt->{'y_data'})
|
801
|
1 |
0 |
if (exists $opt->{'y2_data'})
|
857
|
1 |
0 |
defined $y_scale ? :
|
869
|
1 |
0 |
defined $y2_scale ? :
|
910
|
1 |
0 |
if (exists $opt->{'x_data'})
|
915
|
1 |
0 |
if (exists $opt->{'y_data'})
|
924
|
0 |
1 |
$add_trend ? :
|
956
|
1 |
0 |
defined $x_scale ? :
|
968
|
1 |
0 |
defined $y_scale ? :
|
1005
|
0 |
1 |
unless (defined $y_last_column)
|
1012
|
0 |
1 |
unless (defined $x_min_scale)
|
1015
|
0 |
0 |
if (not defined $x_max_scale and exists $opt->{'x_scale_unit'})
|
1024
|
1 |
0 |
if (exists $opt->{'y_data'})
|
1062
|
0 |
1 |
exists $opt->{'cross'} ? :
|
1074
|
1 |
0 |
defined $y_scale ? :
|
1094
|
1 |
5 |
if (not defined $first_row) { }
|
1095
|
1 |
0 |
if (ref $dataset->[0] eq 'ARRAY') { }
|
1105
|
0 |
5 |
if (ref $dataset->[0] eq 'ARRAY') { }
|
1148
|
5 |
0 |
if $workbook
|
1153
|
3 |
2 |
if $dbh
|