Branch Coverage

blib/lib/VOMS/Lite/ASN1Helper.pm
Criterion Covered Total %
branch 41 68 60.2


line true false branch
20 0 89 unless defined $data
22 0 89 length $str & 1 ? :
29 0 39 unless defined $data
30 0 39 unless $data =~ /^-?[0-9]+$/
32 0 39 if $data =~ /^-/
37 0 39 if $data =~ /^-/
47 225 0 if (($_ & "\200") ne "\200")
48 150 75 length $OIDstr ? :
56 0 9 unless ($_[0] =~ /^[0-9]+(?:\.[0-9]+)*$/)
65 0 27 if $str ne ''
78 0 9 unless defined $data
79 0 9 if (defined $length)
92 0 220 unless defined $Header and defined $Data
100 0 0 unless defined $data
107 0 0 wantarray ? :
0 1109 unless defined $BER
115 1109 2344 if ($inheader == 1) { }
0 2344 elsif ($inheader == 2) { }
1109 1235 elsif ($inheader == 3) { }
126 1109 elsif ($inheader == 4) { }
120 0 1109 if ($Tag == 31) { }
129 88 1021 if (shift @B) { }
134 88 38 if ($lenlen == 0)
136 1072 37 wantarray ? :
139 0 0 wantarray ? :
146 0 220 unless defined $data
149 195 25 if ($len <= 127) { }
153 19 6 if (length $lenlen & 1)
164 0 38 unless defined $data
172 0 38 if ($total[0] + $total[1] != $datalength)
179 0 996 unless (defined $Class)
186 566 430 if $Constructed == 0
188 0 1034 unless (defined pop @ContentStop)
189 0 1034 unless (defined pop @ContentStart)