Branch Coverage

blib/lib/Net/STOMP/Client/IO.pm
Criterion Covered Total %
branch 0 70 0.0


line true false branch
63 0 0 if ($timeout)
64 0 0 unless $timeout > 0
74 0 0 if (defined $count) { }
76 0 0 unless ($count)
86 0 0 unless $minlen and $total < $minlen
89 0 0 if ($! != 11 and $! != 11)
96 0 0 if (not defined $timeout) { }
0 0 elsif ($timeout) { }
102 0 0 unless $remaining > 0
106 0 0 unless $count
109 0 0 unless $count
131 0 0 unless $self->{'outgoing_buflen'} or @{$self->{'outgoing_queue'};}
132 0 0 if ($timeout)
133 0 0 unless $timeout > 0
147 0 0 unless $self->{'outgoing_buflen'}
151 0 0 if (defined $count) { }
153 0 0 if ($count)
162 0 0 unless $self->{'outgoing_buflen'} or @{$self->{'outgoing_queue'};}
163 0 0 unless $minlen and $total < $minlen
167 0 0 if ($! != 11 and $! != 11)
174 0 0 if (not defined $timeout) { }
0 0 elsif ($timeout) { }
180 0 0 unless $remaining > 0
184 0 0 unless $count
187 0 0 unless $count
205 0 0 unless $socket and ref $socket and $socket->isa('IO::Socket')
227 0 0 unless ref $data eq 'SCALAR'
229 0 0 if ($length)
244 0 0 unless ($self->{'error'})
249 0 0 unless defined $count
252 0 0 if $option{'debug'} and $option{'debug'} =~ /\b(io|all)\b/
264 0 0 unless ($self->{'error'})
266 0 0 $option{'timeout'} ? :
269 0 0 unless defined $count
272 0 0 if $option{'debug'} and $option{'debug'} =~ /\b(io|all)\b/