Branch Coverage

lib/Text/ASCIITable/EasyTable.pm
Criterion Covered Total %
branch 19 34 55.8


line true false branch
56 0 5 unless is_array($options{'data'})
60 0 5 if ($options{'columns'} and not $options{'index'}) { }
3 2 elsif ($options{'rows'}) { }
0 2 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 5 0 unless $options{'json'}
118 0 5 unless is_hash($table_options)
127 0 5 if ($options{'fix_headings'})
150 0 5 if ($sort_key) { }
151 0 0 if (&reftype($sort_key) eq 'CODE') { }
163 3 2 $rows ? :
171 0 15 if defined $options{'max_rows'} and ++$row_count > $options{'max_rows'}
173 9 6 if ($rows) { }
179 9 0 $row_lu{$_} ? :
9 9 ref $row_lu{$_} && &reftype($row_lu{$_}) eq 'CODE' ? :