Condition Coverage

blib/lib/Data/Entropy/RawSource/CryptCounter.pm
Criterion Covered Total %
condition 10 26 38.4


and 3 conditions

line !l l&&!r l&&r condition
226 2 0 8 $length != 0 and defined $$self{'counter'}
282 0 0 0 $chopped =~ /\A\x{01}\0*\z/ and $subpos == 0
323 0 0 1 rand $pos and @$pos == 2
325 1 0 0 not defined $ctr and $subpos == 0
326 0 0 1 rand $ctr and length $ctr == $$self{'blksize'}
0 0 1 rand $ctr and length $ctr == $$self{'blksize'} and is_number $subpos
0 0 1 rand $ctr and length $ctr == $$self{'blksize'} and is_number $subpos and $subpos >= 0
0 0 1 rand $ctr and length $ctr == $$self{'blksize'} and is_number $subpos and $subpos >= 0 and $subpos < $$self{'blksize'}

or 2 conditions

line l !l condition
296 6 2 $offset || '0 but true'