Condition Coverage

blib/lib/Net/SSH/Perl/Packet.pm
Criterion Covered Total %
condition 1 81 1.2


and 3 conditions

line !l l&&!r l&&r condition
163 0 0 0 $ciph && $ciph->authlen
165 0 0 0 $mac && $mac->enabled
166 0 0 0 $ciph && $ciph->enabled
181 0 0 0 $ciph && $ciph->enabled
197 0 0 0 $aadlen and $incoming->length < $aadlen + $need + $maclen + $authlen
0 0 0 not $aadlen and $incoming->length < $need + $block_size + $maclen
202 0 0 0 $mac and $mac->enabled
221 0 0 0 $mac and $mac->enabled
223 0 0 0 $ciph && $ciph->enabled
231 0 0 0 $ciph && $ciph->enabled
234 0 0 0 $ciph && $ciph->enabled
248 0 0 0 $comp and $comp->enabled
338 0 0 0 $ciph && $ciph->authlen
340 0 0 0 $ciph && $ciph->enabled
344 0 0 0 $comp and $comp->enabled
358 0 0 0 $mac and $mac->etm
360 0 0 0 $ciph && $ciph->enabled
361 0 0 0 $mac and $mac->etm
364 0 0 0 $mac and $mac->enabled
371 0 0 0 $mac and $mac->enabled

or 3 conditions

line l !l&&r !l&&!r condition
54 0 0 0 $! == 11 or $! == 11
167 0 0 0 $mac && $mac->enabled && $mac->etm || $authlen
189 0 0 0 $plen < 5 or $plen > 262144
197 0 0 0 $aadlen and $incoming->length < $aadlen + $need + $maclen + $authlen or not $aadlen and $incoming->length < $need + $block_size + $maclen
289 0 5 0 shift() || $pack->{'data'}
329 0 0 0 shift() || $pack->{'data'}
341 0 0 0 $mac && $mac->enabled && $mac->etm || $authlen