Branch Coverage

lib/Spreadsheet/Write.pm
Criterion Covered Total %
branch 14 30 46.6


line true false branch
134 0 6 ref $_[0] eq 'HASH' ? :
139 0 6 if ($format eq 'auto')
140 0 0 if ref $filename
141 0 0 $filename =~ /.*\.(.+?)$/ ? :
169 0 6 unless $implementation
175 0 6 if $@
200 0 22 if $self->{'_CLOSED'}
204 6 16 unless ($fh)
207 0 6 if (ref $filename) { }
213 0 6 unless $fh->open($filename, 'w')
302 0 18 unless $self->_open
307 30 12 if (ref $item eq 'HASH') { }
308 18 12 if (ref $item->{'content'} eq 'ARRAY') { }
344 0 0 if (ref $row eq 'ARRAY') { }
0 0 elsif (not ref $row) { }