Branch Coverage

blib/lib/VRML/Base.pm
Criterion Covered Total %
branch 5 80 6.2


line true false branch
34 0 12 defined $tabs ? :
59 0 0 unless $_[0]
62 0 0 if $self->{'DEBUG'}
117 0 19 unless defined $index
132 0 0 @_ ? :
135 0 0 unless (defined $self->{$key})
141 0 0 if defined ref $self->{$key} and ref $self->{$key} eq 'ARRAY' and $key ne 'VRML'
144 0 0 if defined ref $self->{$key} and ref $self->{$key} eq 'HASH'
153 0 8 if ref $pt eq 'ARRAY'
165 0 0 defined $comment ? :
185 0 0 unless defined $self->{'DATApos'}
186 0 0 if $self->{'DEBUG'}
195 0 0 if not defined $filename[0] or $filename[0] eq ''
197 0 0 unless open INCLUDE, "<$_"
208 0 0 if (defined $format and $format eq 'none') { }
222 0 0 if $self->{'Content-type'} and $mime
223 0 0 if ($pipe) { }
224 0 0 unless open PIPE, "|$pipe"
238 0 0 unless (defined $filename)
242 0 0 unless open VRMLFILE, ">$filename"
244 0 0 if ($pipe)
247 0 0 unless open VRMLFILE, "| $pipe > $filename"
281 0 1 if wantarray
292 0 1 if wantarray
298 0 0 unless @_
304 0 0 if $self->{'DEBUG'} == 2
306 0 0 if $self->{'Xmax'} < do { $$self{'XYZ'}[0] }->[0]
308 0 0 if $self->{'Ymax'} < do { $$self{'XYZ'}[0] }->[1]
310 0 0 if $self->{'Zmax'} < do { $$self{'XYZ'}[0] }->[2]
312 0 0 if $self->{'Xmin'} > do { $$self{'XYZ'}[0] }->[0]
314 0 0 if $self->{'Ymin'} > do { $$self{'XYZ'}[0] }->[1]
316 0 0 if $self->{'Zmin'} > do { $$self{'XYZ'}[0] }->[2]
322 0 0 unless defined $x
323 0 0 unless defined $y
324 0 0 unless defined $z
325 0 0 if wantarray
332 0 0 unless defined $dx
333 0 0 unless defined $dy
334 0 0 unless defined $dz
335 0 0 if wantarray