Branch Coverage

blib/lib/Compress/LZW/Compressor.pm
Criterion Covered Total %
branch 23 26 88.4


line true false branch
67 10 1 $self->block_mode ? :
95 11 1 $_[0]->block_mode ? :
110 8420572 118728 if (exists $self->_code_table->{$seen . $char}) { }
151 53 118675 if ($code == 2 ** $self->_code_size)
152 19 34 if ($self->_code_size < $self->max_code_size) { }
1 33 elsif ($self->block_mode) { }
170 34 118694 if ($code >= 2 ** $self->_code_size)
183 0 118740 unless defined $code
189 0 118740 if ($code > 2 ** $code_size)
192 118450 290 $self->lsb_first ? :
196 0 118740 if ($code == 1) { }
202 912893 857208 if ($code >> $bit & 1)
203 911708 1185 $self->lsb_first ? :