Condition Coverage

blib/lib/Convert/ASN1/_decode.pm
Criterion Covered Total %
condition 48 98 48.9


and 2 conditions

line l !l condition
415 233 128 $_[1][3] && ($_[3] = [])

and 3 conditions

line !l l&&!r l&&r condition
60 2 0 23 $pos == $end and $seqof || defined $op->[5]
79 512 121 119 $seqof and $pos < $end
83 65 0 1 $tag eq ($op->[0] | " ") and my $ctr = $ctr[$op->[1]]
108 1 0 0 $seqof and $pos < $end
128 0 0 2 $pos == $end and $seqof || defined $op->[5]
136 0 0 2 $optn->{'oidtable'} && $optn->{'oidtable'}{$$stash{$op->[7]}}
145 30 1 1 $seqof and $pos < $end
153 0 0 0 $pos == $end and $seqof || defined $op->[5]
178 129 6 2 $seqof and $pos < $end
213 0 1 1 $seqof and $pos < $end
217 132 0 0 $tag eq ($cop->[0] | " ") and my $ctr = $ctr[$cop->[1]]
241 0 0 0 $seqof and $pos < $end
246 0 0 1 $pos < $end and $extensions
249 1 0 0 $seqof and $pos < $end
325 3 0 159 $_[1][1] == 6 and @data > 1
472 30 0 0 $tag eq ($op->[0] | " ") and my $ctr = $ctr[$op->[1]]
512 0 0 0 $tag eq ($cop->[0] | " ") and my $ctr = $ctr[$cop->[1]]
542 25 1 0 not defined $done and defined $any
548 25 0 1 not defined $done and defined $extensions

or 2 conditions

line l !l condition
117 0 0 $op->[2] || ''
284 11 5 $_[0]{'decode_bigint'} || 'Math::BigInt'
573 0 24 $_dec_time_opt{$_[0]{'decode_time'} or ''} || 0

or 3 conditions

line l !l&&r !l&&!r condition
60 0 23 0 $seqof || defined $op->[5]
113 0 65 0 $seqof or defined $op->[5]
128 0 2 0 $seqof || defined $op->[5]
137 2 0 0 $handler ||= $optn->{'handlers'}{$op->[2]}{$$stash{$op->[7]}}
153 0 0 0 $seqof || defined $op->[5]
415 24 128 209 defined $_[3] || $_[1][3]
439 0 0 8 $_[1][3] or not defined $ch
552 0 0 26 not defined $done or $done[$done]++
560 26 1 3 $done[$idx] or $ch->[$idx][5]
1 3 0 $done[$idx] or $ch->[$idx][5] or $ch->[$idx][1] == 18
575 0 0 24 $mode == 2 or $_[6] == 0