Branch Coverage

blib/lib/CAD/Mesh3D/STL.pm
Criterion Covered Total %
branch 31 32 96.8


line true false branch
20 0 5 if ($v <= 'version'->parse(v0.2.1) and $os eq 'MSWin32') { }
148 1 15 unless $_
149 1 14 if /^STDOUT$/i
150 1 14 if /^STDERR$/i
151 3 12 if ("GLOB" ne ref $_)
152 2 1 unless $fn =~ /\.stl$/i
153 1 2 unless open my $tfh, ">", $fn
161 3 11 if /^(?:ASC(?:|II)|true)$/i
162 3 11 if /^(?:bin(?:|ary)|false)$/i
163 1 13 if $_ and /\D/
165 8 5 unless $asc
173 5 8 if ($asc) { }
180 2 11 if $doClose
227 4 2 if (not defined $asc_or_bin or '' eq $asc_or_bin) { }
1 1 elsif ($asc_or_bin =~ /(asc(?:ii)?|bin(?:ary)?)/i) { }
234 2 2 unless defined $size