Branch Coverage

blib/lib/Hg/Lib/Server.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
15 0 0 'ARRAY' eq ref $_[0] ? :
125 0 0 if $self->connect
133 0 0 if $self->_has_pipe
144 0 0 if $self->has_encoding
172 0 0 unless defined $nr
175 0 0 unless $nr > 0
180 0 0 if ($ch =~ /IL/) { }
182 0 0 unless wantarray
191 0 0 unless $self->read($_[0], $len) == $len
205 0 0 @_ > 1 ? :
206 0 0 unless $self->stdin->syswrite($_[0], $len) == $len
224 0 0 unless $ch eq 'o' and length $buf
227 0 0 $self->has_encoding ? :
234 0 0 if ($field eq 'capabilities') { }
0 0 elsif ($field eq 'encoding') { }
242 0 0 if defined $requested_encoding and $requested_encoding ne $value
255 0 0 unless $self->has_capabilities
258 0 0 unless exists $self->capabilities->{'runcommand'}
261 0 0 unless $self->has_encoding
276 0 0 unless $ch eq 'r' and length $buffer