Branch Coverage

blib/lib/Catalyst/Action/Serialize/SimpleXLSX.pm
Criterion Covered Total %
branch 23 32 71.8


line true false branch
181 3 3 if (ref $data eq 'ARRAY') { }
3 0 elsif (ref $data eq 'HASH') { }
182 2 1 if (not ref $data->[0][0]) { }
190 2 0 ref $_ eq 'ARRAY' ? :
0 2 ref $_ eq 'HASH' ? :
194 3 0 if $data->{'filename'}
199 0 3 if ($sheets and $rows)
203 1 2 if ($sheets) { }
2 0 elsif ($rows) { }
208 1 0 ref $_ eq 'ARRAY' ? :
2 1 ref $_ eq 'HASH' ? :
228 2 7 $sheet->{'name'} ? :
236 4 5 if (exists $sheet->{'header'})
240 0 8 if (defined $auto_widths[$col] and $auto_widths[$col] < length $header)
252 0 44 if (defined $auto_widths[$col] and $auto_widths[$col] < length $the_col)
262 8 1 unless exists $sheet->{'column_widths'}