Branch Coverage

blib/lib/Net/Stomp/Frame.pm
Criterion Covered Total %
branch 15 22 68.1


line true false branch
19 6 12 if @_
28 4 163 unless defined $self->headers
41 0 77 if ($headers->{'bytes_message'})
47 0 169 unless $headers
48 92 0 defined $value ? :
65 6 50 unless $command
68 49 1 if ($headers_block)
75 0 50 if ($headers and $headers->{'content-length'}) { }
50 0 elsif ($string =~ s/\A(.*?)\0//s) { }
76 0 0 if (length $string >= $headers->{'content-length'}) { }
85 16 34 if length $1