Branch Coverage

blib/lib/XAS/Lib/Stomp/Parser.pm
Criterion Covered Total %
branch 0 28 0.0


line true false branch
81 0 0 if ($self->{'state'} eq 'command') { }
0 0 elsif ($self->{'state'} eq 'headers') { }
0 0 elsif ($self->{'state'} eq 'body') { }
0 0 elsif ($self->{'state'} eq 'frame') { }
86 0 0 if ($line = $self->buf_get_line(\$self->{'buffer'}, $EOL)) { }
93 0 0 $line eq '' ? :
112 0 0 if ($clength == -1)
122 0 0 if ($clength != -1 and $clength <= $length) { }
139 0 0 if ($self->target < 1.2) { }
145 0 0 unless (defined $self->{'headers'}{$key})
170 0 0 if ($clength = $self->{'headers'}{'content-length'}) { }
174 0 0 if ($clength <= $length) { }
187 0 0 if ($clength != -1 and $clength <= $length) { }
245 0 0 unless (defined $self->{'target'})