Branch Coverage

lib/Text/ASCIITable/EasyTable.pm
Criterion Covered Total %
branch 18 32 56.2


line true false branch
56 0 5 unless is_array($options{'data'})
60 0 5 if ($options{'columns'}) { }
3 2 elsif ($options{'rows'}) { }
62 0 0 unless is_array($options{'columns'})
68 0 3 unless is_array($options{'rows'})
71 0 3 if @{$options{'rows'};} % 2
84 5 0 unless $options{'json'}
106 0 5 unless is_hash($table_options)
115 0 5 if ($options{'fix_headings'})
138 0 5 if ($sort_key) { }
139 0 0 if (&reftype($sort_key) eq 'CODE') { }
151 3 2 $rows ? :
159 0 15 if defined $options{'max_rows'} and ++$row_count > $options{'max_rows'}
161 9 6 if ($rows) { }
167 9 0 $row_lu{$_} ? :
9 9 ref $row_lu{$_} && &reftype($row_lu{$_}) eq 'CODE' ? :