Condition Coverage

blib/lib/Data/BitStream/String.pm
Criterion Covered Total %
condition 15 36 41.6


and 3 conditions

line !l l&&!r l&&r condition
50 0 0 80401 defined $bits and $bits > 0
0 0 80401 defined $bits and $bits > 0 and $bits <= $self->maxbits
52 75315 0 5086 defined $_[0] && $_[0] eq 'readahead'
57 5049 75255 0 not $peek and $pos + $bits > $len
80 0 0 40890 defined $bits and $bits > 0
82 0 0 40890 defined $val and $val >= 0
127 0 0 6463 defined $val and $val >= 0
168 0 0 5408 defined $val and $val >= 0
210 0 0 19953 defined $val and $val >= 0
294 0 0 2 defined $bits and $bits >= 0

or 3 conditions

line l !l&&r !l&&!r condition
315 2836 31 0 shift() || length $str
333 3 0 0 shift() || int((length($vec) + 7) / 8)