Branch Coverage

blib/lib/Chemistry/File/VRML.pm
Criterion Covered Total %
branch 23 86 26.7


line true false branch
27 3 2 if (my $method = $OPTS{$key})
113 0 1 if ref $class
178 0 0 unless open FILE, "$fileName"
180 0 0 if (/^ATOM /) { }
0 0 elsif (/^HETATM/) { }
0 0 elsif (/^CONECT/) { }
219 0 0 if ($n1 > $n2)
221 0 0 if exists $$this{'BLT'}{$label}
285 1 0 if ($color eq 'byAtom') { }
306 0 0 if ($$at1{'color'} == $$at2{'color'})
363 0 0 if $$_{'used'}
376 0 0 if $$b{'used'}
402 1 0 if $$this{'style'} =~ /wire/
404 1 0 if $$this{'style'} =~ /(ball|stick|cpk)/
441 0 1 if ($$this{'DefUse'}{'WireShape'})
460 0 1 if ($$this{'DefUse'}{'WireApp'})
478 0 1 if ($$this{'DefUse'}{'WireGeo'})
500 0 1 if ($$this{'DefUse'}{'WireCol'})
529 0 1 if $i < @$lc
539 0 1 if ($$this{'DefUse'}{'WireCoo'})
580 9 0 if $$_{'label'}
595 0 9 if ($$this{'style'} =~ /stick/)
611 6 3 if ($$this{'DefUse'}{"AtomShape$l"})
632 0 3 if ($$this{'DefUse'}{"AtomApp$c"})
658 0 3 if ($$this{'DefUse'}{"AtomGeo$l"})
664 3 0 if $$this{'style'} =~ /ball/
665 0 3 if $$this{'style'} =~ /cpk/
705 0 0 if ($$this{'DefUse'}{"BondShape$c"})
724 0 0 if ($$this{'DefUse'}{'BondGeo'})
756 0 118 if ($$this{'Compression'}) { }
759 53 65 if $$this{'indent'} & 1
790 0 0 if ($dy > 0.9999) { }
0 0 elsif ($dy < -0.9999) { }
808 0 0 if $_ > $maxR
814 0 0 if $$_{'x'} < $minX
815 0 0 if $$_{'y'} < $minY
816 0 0 if $$_{'z'} < $minZ
829 0 0 if $i > $maxI
830 0 0 if $j > $maxJ
831 0 0 if $k > $maxK
867 0 0 unless $n1 < $n2
876 0 0 if $dist > $ar2
878 0 0 if exists $$this{'BLT'}{$label}