Branch Coverage

blib/lib/Text/ZPL/Stream.pm
Criterion Covered Total %
branch 16 18 88.8


line true false branch
35 1146 0 defined $_[0][0] ? :
57 12 56 unless (Text::ZPL::_decode_prepare_line($line))
72 38 17 if ((my $sep_pos = index($line, '=')) > 0)
85 17 0 if (my($subsect) = $line =~ /^(?:\s+)?($re)(?:\s+?#.*)?$/)
110 2 1196 if ($chr eq "\r")
117 67 1129 if ($chr eq "\n")
118 1 66 if ($self->_maybe_extra_eol) { }
127 1 1128 if $self->_maybe_extra_eol
129 1 1128 if $self->max_buffer_size and length $self->[1] >= $self->max_buffer_size