Branch Coverage

blib/lib/Spreadsheet/WriteExcel/OLEwriter.pm
Criterion Covered Total %
branch 22 30 73.3


line true false branch
74 60 0 if (ref $olefile) { }
84 0 0 unless (defined $fh)
114 0 60 if ($_[0] > $maxsize)
121 1 59 if ($_[0] > 4096) { }
144 58 1 if ($datasize % 512 == 0) { }
169 0 60 unless $$self{'_size_allowed'}
171 59 1 unless $$self{'_biff_only'}
172 59 1 unless $$self{'_biff_only'}
173 59 1 unless $$self{'_biff_only'}
178 60 0 if $$self{'_internal_fh'}
198 0 60 unless $$self{'_fileclosed'}
228 1 59 if $$self{'_biff_only'}
347 118 118 if ($name ne '')
406 58 1 if ($biffsize < 4096) { }
416 59 0 if ($biffsize % $min_size != 0)