Branch Coverage

blib/lib/GD/Barcode/UPCE.pm
Criterion Covered Total %
branch 13 24 54.1


line true false branch
53 0 0 if $GD::Barcode::UPCE::errStr = $oThis->init($sTxt)
59 0 3 if $sTxt =~ /[^0-9]/
63 1 2 if ($iLen == 6) { }
1 1 elsif ($iLen == 7) { }
1 0 elsif ($iLen == 8) { }
90 1 1 $iSum == 0 ? :
99 0 2 if ($cLast =~ /[0-2]/) { }
0 2 elsif ($cLast eq '3') { }
0 2 elsif ($cLast eq '4') { }
128 9 9 substr($oddEven, $i - 1, 1) eq 'O' ? :
146 0 0 $hParam{'Height'} ? :
148 0 0 if ($hParam{'NoText'}) { }