| line |
true |
false |
branch |
|
56
|
0 |
6 |
unless is_array($options{'data'}) |
|
60
|
0 |
6 |
if ($options{'columns'} and not $options{'index'}) { } |
|
|
3 |
3 |
elsif ($options{'rows'}) { } |
|
|
0 |
3 |
elsif ($options{'index'}) { } |
|
62
|
0 |
0 |
unless is_array($options{'columns'}) |
|
68
|
0 |
3 |
unless is_array($options{'rows'}) |
|
71
|
0 |
3 |
if @{$options{'rows'};} % 2 |
|
96
|
6 |
0 |
unless $options{'json'} |
|
118
|
0 |
6 |
unless is_hash($table_options) |
|
127
|
0 |
6 |
if ($options{'fix_headings'}) |
|
135
|
1 |
20 |
unless (@{$_;}) |
|
155
|
0 |
6 |
if ($sort_key) { } |
|
156
|
0 |
0 |
if (builtin::reftype($sort_key) eq 'CODE') { } |
|
168
|
3 |
3 |
$rows ? : |
|
176
|
1 |
20 |
unless ($row) |
|
182
|
0 |
20 |
if defined $options{'max_rows'} and ++$row_count > $options{'max_rows'} |
|
184
|
9 |
11 |
if ($rows) { } |
|
189
|
9 |
0 |
$row_lu{$_} ? : |
|
|
9 |
9 |
if (ref $row_lu{$_} and builtin::reftype($row_lu{$_}) eq 'CODE') { } |