Branch Coverage

blib/lib/Event/RPC/Message.pm
Criterion Covered Total %
branch 25 44 56.8


line true false branch
56 684 172 $blocking ? :
58 856 0 unless (defined $self->{'buffer'})
60 0 856 if $DEBUG
62 0 856 if $DEBUG
63 23 833 if not defined $rc or $rc == 0
65 0 833 if $DEBUG
67 0 833 if $self->{'length'} > $MAX_PACKET_SIZE
72 0 833 if $DEBUG
81 0 833 if $DEBUG
83 0 833 unless defined $rc
84 0 833 if $rc == 0
89 0 833 if $self->{'length'} != $buffer_length
91 0 833 if $self->{'length'} != $buffer_length
93 0 833 if $DEBUG
116 0 833 if $DEBUG
120 1 832 if (length $packed > $MAX_PACKET_SIZE)
137 684 149 $blocking ? :
146 0 833 if $DEBUG
148 0 833 unless defined $rc
152 833 0 if ($self->{'written'} == $self->{'length'})
153 0 833 if $DEBUG
159 0 0 if $DEBUG