Branch Coverage

blib/lib/Data/BitStream/Code/Omega.pm
Criterion Covered Total %
branch 34 42 80.9


line true false branch
34 0 4311 unless $self->writing
40 2 6985 unless defined $val and $val >= 0
41 6 6979 if ($val == $maxval)
42 6 0 if ($maxbits > 32) { }
68 2964 15128 if ($cbits + $base >= 32) { }
79 5062 1917 if (scalar @d == 0) { }
93 0 4357 if $self->writing
95 4333 24 if (not defined $count) { }
24 0 elsif ($count < 0) { }
0 0 elsif ($count == 0) { }
115 49 7008 unless defined $prefix
117 1004 6004 if (($prefix & 128) == 0) { }
621 5383 elsif (($prefix & 32) == 0) { }
950 4433 elsif ($prefix & 64) { }
128 246 704 if (($prefix & 2) == 0)
135 518 3915 if (($prefix & 4) == 0)
141 6 6757 if ($val == $maxbits)
145 2 6755 if $val > $maxbits
147 0 6754 unless defined $next
150 0 4610 unless defined $first_bit
154 24 4330 wantarray ? :