Branch Coverage

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


line true false branch
74 659 142 $blocking ? :
76 801 0 unless (defined $self->{'buffer'})
78 0 801 if $DEBUG
80 0 801 if $DEBUG
81 18 783 if not defined $rc or $rc == 0
83 0 783 if $DEBUG
85 0 783 if $self->{'length'} > $MAX_PACKET_SIZE
90 0 783 if $DEBUG
99 0 783 if $DEBUG
101 0 783 unless defined $rc
102 0 783 if $rc == 0
107 0 783 if $self->{'length'} != $buffer_length
109 0 783 if $self->{'length'} != $buffer_length
111 0 783 if $DEBUG
134 0 783 if $DEBUG
138 1 782 if (length $packed > $MAX_PACKET_SIZE)
155 659 124 $blocking ? :
164 0 783 if $DEBUG
166 0 783 unless defined $rc
170 783 0 if ($self->{'written'} == $self->{'length'})
171 0 783 if $DEBUG
177 0 0 if $DEBUG