Branch Coverage

blib/lib/Compress/LZW/Decompressor.pm
Criterion Covered Total %
branch 19 24 79.1


line true false branch
74 11 1 $_[0]->_block_mode ? :
95 1 118727 if ($self->_block_mode and $code == $Compress::LZW::Decompressor::RESET_CODE)
109 118727 0 if (my $word = $$codes{$code}) { }
118 0 0 unless ($code == $self->_next_code)
130 21 118706 if ($self->_next_code == 2 ** $self->_code_size)
131 19 2 if $self->_code_size < $self->_max_code_size
178 0 11 if ($head ne $Compress::LZW::Decompressor::MAGIC)
186 0 11 if ($self->init_code_size > $self->_max_code_size)
201 6 118745 if $rpos > $eof
203 118455 290 $self->lsb_first ? :
207 1767521 2644 $self->lsb_first ? :
213 5 118740 if $code == 0 and $rpos > $eof