Branch Coverage

blib/lib/VRML/VRML2/Standard.pm
Criterion Covered Total %
branch 31 442 7.0


line true false branch
91 0 0 if defined $description
92 0 0 if $parameter
93 0 0 if $bboxSize
94 0 0 if $bboxCenter
98 0 0 if (defined $children)
100 0 0 if (ref $children eq 'CODE') { }
128 0 0 if (defined $children)
130 0 0 if (ref $children eq 'CODE') { }
155 0 0 if (defined $proxy)
160 0 0 if (ref $proxy eq 'CODE') { }
170 0 0 if (defined $children)
172 0 0 if (ref $children eq 'CODE') { }
196 0 0 if $bboxSize
197 0 0 if $bboxCenter
201 0 0 if (defined $children)
203 0 0 if (ref $children eq 'CODE') { }
235 0 0 if ($self->{'XYZ'}[0]) { }
239 0 0 if defined $translation
243 0 0 if $translation
244 0 0 if $rotation
245 0 0 if $scale
246 0 0 if $scaleOrientation
247 0 0 if $center
248 0 0 if $bboxSize
249 0 0 if $bboxCenter
280 0 0 if $bboxSize
281 0 0 if $bboxCenter
304 0 0 if ($range)
305 0 0 if (ref $range eq 'ARRAY') { }
311 0 0 if $center
329 0 0 if defined $whichChoice
359 0 0 if $direction
360 0 0 if $intensity
361 0 0 if $ambientIntensity
362 0 0 if $color
363 0 0 if $on
380 0 0 if $location
381 0 0 if $intensity
382 0 0 if $ambientIntensity
383 0 0 if $color
384 0 0 if $on
401 0 0 if $location
402 0 0 if $direction
403 0 0 if $intensity
404 0 0 if $color
405 0 0 if $on
421 0 0 if $location
422 0 0 if $direction
423 0 0 if $intensity
424 0 0 if $maxFront
425 0 0 if $maxBack
426 0 0 if $minFront
427 0 0 if $minBack
428 0 0 if $priority
429 0 0 if $spatialize
430 0 0 if (defined $source)
431 0 0 if (ref $source eq 'CODE') { }
460 0 0 if $url
461 0 0 if defined $description
462 0 0 if $loop
463 0 0 if $pitch
464 0 0 if defined $startTime
465 0 0 if defined $stopTime
482 0 0 if $title
483 0 0 if (defined $info)
484 0 0 if (ref $info eq 'ARRAY') { }
507 6 0 if (defined $appearance)
508 6 0 if (ref $appearance eq 'CODE') { }
521 6 0 if (defined $geometry)
522 6 0 if (ref $geometry eq 'CODE') { }
536 0 6 if $self->{'DEBUG'}
565 2 0 if $size
582 1 0 if $radius
583 1 0 if $height
584 0 1 if $side
585 0 1 if $bottom
602 1 0 if defined $radius
603 1 0 if defined $height
604 0 1 if $top
605 0 1 if $side
606 0 1 if $bottom
630 0 0 if defined $xSpacing
631 0 0 if defined $zSpacing
632 0 0 if defined $solid
633 0 0 if defined $creaseAngle
634 0 0 if (ref $height eq 'ARRAY')
640 0 0 if (defined $color)
641 0 0 if (ref $color eq 'ARRAY') { }
649 0 0 if $colorPerVertex
673 0 0 if defined $beginCap
674 0 0 if defined $endCap
675 0 0 if defined $creaseAngle
676 0 0 if defined $solid
677 0 0 if defined $convex
678 0 0 if defined $ccw
679 0 0 if ($crossSection)
685 0 0 if ($spine)
691 0 0 if ($scale)
697 0 0 if ($orientation)
728 0 0 if (defined $coord)
729 0 0 if (ref $coord eq 'CODE') { }
742 0 0 if ($coordIndex)
743 0 0 if (ref $coordIndex eq 'ARRAY') { }
752 0 0 if (defined $color)
753 0 0 if (ref $color eq 'CODE') { }
0 0 elsif (ref $colorIndex eq 'ARRAY') { }
770 0 0 if ($colorIndex)
772 0 0 if (ref $colorIndex eq 'ARRAY') { }
774 0 0 if (defined $colorPerVertex and $colorPerVertex eq 'FALSE') { }
784 0 0 if $colorPerVertex
786 0 0 if ($normalIndex)
787 0 0 if (ref $normalIndex eq 'ARRAY') { }
796 0 0 if ($texCoordIndex)
797 0 0 if (ref $texCoordIndex eq 'ARRAY') { }
832 0 0 if (defined $coord)
833 0 0 if (ref $coord eq 'CODE') { }
846 0 0 if ($coordIndex)
847 0 0 if (ref $coordIndex eq 'ARRAY') { }
856 0 0 if (defined $color)
857 0 0 if (ref $color eq 'CODE') { }
869 0 0 if ($colorIndex)
871 0 0 if (ref $colorIndex eq 'ARRAY') { }
873 0 0 if (defined $colorPerVertex and $colorPerVertex eq 'FALSE') { }
883 0 0 if $colorPerVertex
901 0 0 if (defined $coord)
902 0 0 if (ref $coord eq 'CODE') { }
915 0 0 if (defined $color)
916 0 0 if (ref $color eq 'CODE') { }
947 1 0 if $radius
962 0 1 unless $string
965 1 0 if (defined $fontStyle)
966 1 0 if (ref $fontStyle eq 'CODE') { }
979 0 1 if $length
980 0 1 if $maxExtent
1087 6 0 if (defined $material)
1089 6 0 if (ref $material) { }
1094 6 0 if (ref $material eq 'CODE') { }
0 0 elsif (ref $material eq 'ARRAY') { }
0 0 elsif (ref $material eq 'HASH') { }
1107 0 6 if (defined $texture)
1108 0 0 if (ref $texture eq 'CODE') { }
1121 0 6 if (defined $textureTransform)
1122 0 0 if (ref $textureTransform eq 'CODE') { }
1159 1 0 if $size
1160 1 0 if $family
1161 1 0 if $style
1162 0 1 if $justify
1163 0 1 if $language
1201 0 0 if $repeatS
1202 0 0 if $repeatT
1220 0 0 if $loop
1221 0 0 if $startTime
1222 0 0 if $stopTime
1223 0 0 if $repeatS
1224 0 0 if $repeatT
1253 0 0 if defined $maxAngle
1254 0 0 if defined $minAngle
1255 0 0 if defined $diskAngle
1256 0 0 if $offset
1257 0 0 if $autoOffset
1258 0 0 if $enabled
1275 0 0 if $maxPosition
1276 0 0 if $minPosition
1277 0 0 if defined $offset
1278 0 0 if $autoOffset
1279 0 0 if $enabled
1296 0 0 if $size
1297 0 0 if $center
1298 0 0 if $enabled
1315 0 0 if $offset
1316 0 0 if $autoOffset
1317 0 0 if $enabled
1334 0 0 if $cycleInterval
1335 0 0 if $loop
1336 0 0 if $startTime
1337 0 0 if $stopTime
1338 0 0 if $enabled
1355 0 0 if $enabled
1372 0 0 if $size
1373 0 0 if $center
1374 0 0 if $enabled
1403 0 0 if (ref $key eq 'ARRAY') { }
1408 0 0 if (ref $keyValue eq 'ARRAY') { }
1429 0 0 if (ref $key eq 'ARRAY') { }
1434 0 0 if (ref $keyValue eq 'ARRAY') { }
1455 0 0 if (ref $key eq 'ARRAY') { }
1460 0 0 if (ref $keyValue eq 'ARRAY') { }
1481 0 0 if (ref $key eq 'ARRAY') { }
1486 0 0 if (ref $keyValue eq 'ARRAY') { }
1507 0 0 if (ref $key eq 'ARRAY') { }
1512 0 0 if (ref $keyValue eq 'ARRAY') { }
1536 0 0 if (ref $key eq 'ARRAY') { }
1541 0 0 if (ref $keyValue eq 'ARRAY') { }
1574 0 0 unless %hash
1579 0 0 if defined $hash{$key}
1600 0 0 if (ref $type eq 'HASH') { }
1602 0 0 if (ref $type->{$key} eq 'ARRAY') { }
1609 0 0 if ref $type eq 'ARRAY'
1610 0 0 if $type
1611 0 0 if defined $speed
1612 0 0 if $headlight
1613 0 0 if defined $visibilityLimit
1614 0 0 if ref $avatarSize eq 'ARRAY'
1615 0 0 if $avatarSize
1633 0 0 if $description
1634 0 0 if $position
1635 0 0 if $orientation
1636 0 0 if $fieldOfView
1637 0 0 if $jump
1657 0 0 if (defined $declaration)
1658 0 0 if (ref $declaration eq 'ARRAY') { }
1664 0 0 if (defined $definition)
1665 0 0 if (ref $definition eq 'CODE') { }
1728 0 0 unless $from and $to
1746 0 0 $comment && $self->{'DEBUG'} ? :
1764 0 0 unless $self->{'TAB'}
1766 0 0 $comment && $self->{'DEBUG'} ? :
1783 0 0 unless $self->{'TAB'}
1785 0 0 $comment && $self->{'DEBUG'} ? :
1790 0 0 if $self->{'DEBUG'}
1797 0 0 unless (exists $self->{'PROTO'}{$VRML::VRML2::Standard::AUTOLOAD})