Branch Coverage

lib/Text/ASCIITable/EasyTable.pm
Criterion Covered Total %
branch 23 38 60.5


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 (@{$_;})
156 0 6 if ($sort_key) { }
157 0 0 if (&reftype($sort_key) eq 'CODE') { }
169 3 3 $rows ? :
179 1 20 unless ($row)
185 0 20 if defined $options{'max_rows'} and ++$row_count > $options{'max_rows'}
187 9 11 if ($rows) { }
193 9 0 $row_lu{$_} ? :
9 9 ref $row_lu{$_} && &reftype($row_lu{$_}) eq 'CODE' ? :