| line |
true |
false |
branch |
|
96
|
0 |
0 |
if ($line =~ /\w/) |
|
98
|
0 |
0 |
if ($line =~ /^OK/) { } |
|
|
0 |
0 |
elsif ($line =~ /^list_OK/) { } |
|
|
0 |
0 |
elsif ($line =~ /^ACK/) { } |
|
99
|
0 |
0 |
if ($line =~ /OK MPD (.*)/) { } |
|
103
|
0 |
0 |
if $self->password |
|
109
|
0 |
0 |
unless @{$self->{'mpd_buffer'}[-1];} |
|
305
|
0 |
0 |
unless defined $idle |
|
306
|
0 |
0 |
if $idle->is_ready |
|
317
|
0 |
0 |
ref $_[0] eq 'HASH' ? : |
|
318
|
0 |
0 |
if ref $_[-1] eq 'CODE' |
|
321
|
0 |
0 |
unless @commands |
|
325
|
0 |
0 |
if (ref $commands[0] eq 'ARRAY') { } |
|
327
|
0 |
0 |
ref $_ eq 'ARRAY' ? : |
|
339
|
0 |
0 |
unless $command =~ /^(replay_gain_|command_list)/ |
|
341
|
0 |
0 |
$args ne '' ? : |
|
345
|
0 |
0 |
if (scalar @commands > 1) |
|
347
|
0 |
0 |
$list ? : |
|
350
|
0 |
0 |
unless $commands[0] =~ /^command_list/ |
|
352
|
0 |
0 |
unless $commands[-1] =~ /^command_list/ |
|
358
|
0 |
0 |
if (defined $opt->{'parser'}) { } |
|
360
|
0 |
0 |
ref $input eq 'CODE' ? : |
|
361
|
0 |
0 |
unless defined $parser |
|
383
|
0 |
0 |
if $cb |
|
386
|
0 |
0 |
unless $self->{'mpd_handle'} |
|
391
|
0 |
0 |
if ($success) { } |
|
416
|
0 |
0 |
if (&$check(@_)) |
|
429
|
0 |
1 |
if $self->auto_connect |
|
439
|
0 |
0 |
if $self->state eq 'ready' |
|
441
|
0 |
0 |
unless my $socket = 'IO::Socket::IP'->new($self->host . ':' . $self->port) |
|
460
|
0 |
0 |
unless ($self->{'mpd_handle'}) |