Branch Coverage

blib/lib/Net/MPD.pm
Criterion Covered Total %
branch 0 54 0.0


line true false branch
48 0 0 if $ENV{'NET_MPD_DEBUG'}
55 0 0 if ($self->{'hostname'} =~ m[/]) { }
57 0 0 unless $socket = 'IO::Socket::UNIX'->new($self->{'hostname'})
62 0 0 unless $socket = 'IO::Socket::INET'->new('PeerHost', $self->{'hostname'}, 'PeerPort', $self->{'port'}, 'Proto', 'tcp')
71 0 0 unless $version
76 0 0 if ($self->{'password'})
78 0 0 if $result->is_error
95 0 0 unless ($self->{'socket'}->connected)
107 0 0 unless defined $line
111 0 0 if ($line =~ /^OK$|^ACK /) { }
122 0 0 if $version > $self->version
152 0 0 if ($result->is_error) { }
162 0 0 if ($options{'readonly'} or @_ == 1) { }
201 0 0 if ($result->is_error) { }
267 0 0 if ($result->is_error) { }
355 0 0 if (@_)
357 0 0 if $result->is_error
361 0 0 if ($result->is_error) { }
653 0 0 if (@_ > 4) { }
654 0 0 if (defined $value) { }
656 0 0 if $result->is_error
660 0 0 if $result->is_error
665 0 0 if $result->is_error
683 0 0 if $result->is_error
705 0 0 if $result->is_error
712 0 0 if ($key eq 'file') { }
0 0 elsif ($key eq 'sticker') { }