line |
true |
false |
branch |
52
|
0 |
0 |
if $self->conntype eq 'reuse'
|
65
|
0 |
0 |
unless defined $ENV{'MPD_HOST'}
|
66
|
0 |
0 |
if $ENV{'MPD_HOST'} =~ /^([^\@]+)\@([^:\@]+):(\d+)$/
|
67
|
0 |
0 |
if $ENV{'MPD_HOST'} =~ /^([^\@]+)\@([^:\@]+)$/
|
68
|
0 |
0 |
if $ENV{'MPD_HOST'} =~ /^([^:\@]+):(\d+)$/
|
98
|
0 |
0 |
if ($self->host =~ m[^/]) { }
|
99
|
0 |
0 |
unless eval 'use IO::Socket::UNIX qw(); 1'
|
101
|
0 |
0 |
unless $socket = 'IO::Socket::UNIX'->new($self->host)
|
105
|
0 |
0 |
unless $socket = 'IO::Socket::IP'->new('PeerAddr', $self->host, 'PeerPort', $self->port)
|
115
|
0 |
0 |
unless $line =~ /^OK MPD (.+)$/
|
120
|
0 |
0 |
if ($self->password)
|
123
|
0 |
0 |
if $line =~ s/^ACK //
|
148
|
0 |
0 |
if $self->conntype eq 'once'
|
156
|
0 |
0 |
if $line =~ s/^ACK //
|
157
|
0 |
0 |
if $line =~ /^OK/
|
162
|
0 |
0 |
if $self->conntype eq 'once'
|
190
|
0 |
0 |
unless $k eq 'file' or $k eq 'directory' or $k eq 'playlist'
|
284
|
0 |
0 |
if ($volume =~ /^(-|\+)(\d+)/)
|
286
|
0 |
0 |
$1 eq '+' ? :
|
304
|
0 |
0 |
unless $k eq 'id'
|
358
|
0 |
0 |
unless defined $song
|
367
|
0 |
0 |
unless defined $songid
|
380
|
0 |
0 |
unless defined $mode
|
382
|
0 |
0 |
$mode ? :
|
391
|
0 |
0 |
unless defined $mode
|
393
|
0 |
0 |
$mode ? :
|
411
|
0 |
0 |
unless defined $number
|
457
|
0 |
0 |
unless defined $song
|
466
|
0 |
0 |
unless defined $song
|