Branch Coverage

blib/lib/Protocol/Sys/Virt/Transport.pm
Criterion Covered Total %
branch 0 70 0.0


line true false branch
64 0 0 if ($status == $msgs->OK) { }
0 0 elsif ($status == $msgs->ERROR) { }
0 0 elsif ($status == $msgs->CONTINUE) { }
65 0 0 if ($type < 0 or $type > $#dispatch)
70 0 0 if ($type == $msgs->STREAM_HOLE)
86 0 0 if ($type == $msgs->STREAM and $self->{'role'} eq "server")
98 0 0 if ($type == $msgs->REPLY or $type == $msgs->STREAM or $type == $msgs->STREAM_HOLE or $type == $msgs->REPLY_WITH_FDS) { }
113 0 0 if ($type == $msgs->STREAM) { }
0 0 elsif ($type == $msgs->STREAM_HOLE) { }
152 0 0 if ($data)
153 0 0 if ($self->{'expect'} eq 'FD') { }
162 0 0 if ($self->{'expect'} eq "START")
170 0 0 if ($self->{'expect'} eq "FRAMELEN")
172 0 0 if ($self->{'want'} > $len)
178 0 0 if ($self->{'want'} < $msgs->LEN_MAX + $msgs->HEADER_MAX)
183 0 0 if ($self->{'want'} > $msgs->STRING_MAX)
190 0 0 if ($self->{'expect'} eq "FRAMEDATA")
192 0 0 if ($self->{'want'} > $len)
206 0 0 if ($status == $msgs->OK and $type == $msgs->CALL_WITH_FDS || $type == $msgs->REPLY_WITH_FDS)
220 0 0 if ($self->{'expect'} eq "FD")
222 0 0 if ($self->{'want_fds'} > $len)
231 0 0 if defined $dv
258 0 0 if ($type == $msgs->CALL or $type == $msgs->CALL_WITH_FDS) { }
0 0 elsif ($type == $msgs->MESSAGE) { }
0 0 elsif (defined $args{'serial'}) { }
282 0 0 if ($status == $msgs->OK) { }
0 0 elsif ($status == $msgs->ERROR) { }
0 0 elsif ($status == $msgs->CONTINUE) { }
283 0 0 if ($type == $msgs->CALL_WITH_FDS or $type == $msgs->REPLY_WITH_FDS)
289 0 0 if $length > $msgs->MAX
297 0 0 unless ($type == $msgs->STREAM and $self->{'role'} eq "client")
304 0 0 if $length > $msgs->MAX
311 0 0 if ($type == $msgs->STREAM_HOLE) { }
0 0 elsif ($type == $msgs->STREAM) { }
323 0 0 if $length > $msgs->MAX