Condition Coverage

blib/lib/Convert/ASN1/_decode.pm
Criterion Covered Total %
condition 32 86 37.2


and 2 conditions

line l !l condition
357 20 11 $_[1][3] && ($_[3] = [])

and 3 conditions

line !l l&&!r l&&r condition
56 0 0 1 $pos == $end and $seqof || defined $$op[4]
75 126 11 19 $seqof and $pos < $end
79 3 0 1 $tag eq ($$op[0] | ' ') and my $ctr = $ctr[$$op[1]]
97 1 0 0 $seqof and $pos < $end
117 0 0 0 $pos == $end and $seqof || defined $$op[4]
124 0 0 2 $$optn{'oidtable'} && $$optn{'oidtable'}{$$stash{$$op[6]}}
133 2 0 0 $seqof and $pos < $end
141 0 0 0 $pos == $end and $seqof || defined $$op[4]
165 4 0 1 $seqof and $pos < $end
195 0 1 1 $seqof and $pos < $end
199 3 0 0 $tag eq ($$cop[0] | ' ') and my $ctr = $ctr[$$cop[1]]
223 0 0 0 $seqof and $pos < $end
294 3 0 5 $_[1][1] == 6 and @data > 1
413 12 0 0 $tag eq ($$op[0] | ' ') and my $ctr = $ctr[$$op[1]]
452 0 0 0 $tag eq ($$cop[0] | ' ') and my $ctr = $ctr[$$cop[1]]
479 12 0 0 not defined $done and defined $any

or 2 conditions

line l !l condition
253 11 0 $_[0]{'decode_bigint'} || 'Math::BigInt'
506 0 6 $_[0]{'decode_time'} or ''
0 6 $_dec_time_opt{$_[0]{'decode_time'} or ''} || 0

or 3 conditions

line l !l&&r !l&&!r condition
56 0 1 0 $seqof || defined $$op[4]
102 0 3 0 $seqof or defined $$op[4]
117 0 0 0 $seqof || defined $$op[4]
125 2 0 0 $handler ||= $$optn{'handlers'}{$$op[2]}{$$stash{$$op[6]}}
141 0 0 0 $seqof || defined $$op[4]
357 0 11 20 defined $_[3] || $_[1][3]
381 0 0 4 $_[1][3] or not defined $ch
485 0 0 12 not defined $done or $done[$done]++
493 12 0 0 $done[$idx] or $$ch[$idx][4]
508 0 0 6 $mode == 2 or $_[6] == 0