Branch Coverage

blib/lib/Data/BitStream/Code/Taboo.pm
Criterion Covered Total %
branch 29 46 63.0


line true false branch
21 0 1632 unless $self->writing
23 0 1632 if $taboostr =~ tr[01][\000-/2-\377]c
25 0 1632 unless $bits >= 1 and $bits <= 16
28 0 1632 if ($bits == 1)
29 0 0 $taboo == 1 ? :
35 4 4682 unless defined $val and $val >= 0
37 153 4529 if ($val == 0)
72 10904 3068 if $digit >= $taboo
81 0 18501 if ($cbits + $bits > 32)
87 4529 0 if $cbits
94 0 1673 if $self->writing
96 0 1673 if $taboostr =~ tr[01][\000-/2-\377]c
98 0 1673 unless $bits >= 1 and $bits <= 16
101 0 1673 if ($bits == 1)
102 0 0 $taboo == 1 ? :
107 1631 42 if (not defined $count) { }
42 0 elsif ($count < 0) { }
0 0 elsif ($count == 0) { }
116 44 4725 unless defined $tval
122 11070 3201 $tval > $taboo ? :
126 12 14259 if $val + $baseval > 18446744073709551615
128 1 14257 unless defined $tval
133 42 1617 wantarray ? :