| 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];} |
|
311
|
0 |
0 |
unless defined $idle |
|
312
|
0 |
0 |
if $idle->is_ready |
|
323
|
0 |
0 |
ref $_[0] eq 'HASH' ? : |
|
324
|
0 |
0 |
if ref $_[-1] eq 'CODE' |
|
327
|
0 |
0 |
unless @commands |
|
331
|
0 |
0 |
if (ref $commands[0] eq 'ARRAY') { } |
|
333
|
0 |
0 |
ref $_ eq 'ARRAY' ? : |
|
345
|
0 |
0 |
unless $command =~ /^(replay_gain_|command_list)/ |
|
347
|
0 |
0 |
$args ne '' ? : |
|
351
|
0 |
0 |
if (scalar @commands > 1) |
|
353
|
0 |
0 |
$list ? : |
|
356
|
0 |
0 |
unless $commands[0] =~ /^command_list/ |
|
358
|
0 |
0 |
unless $commands[-1] =~ /^command_list/ |
|
364
|
0 |
0 |
if (defined $opt->{'parser'}) { } |
|
366
|
0 |
0 |
ref $input eq 'CODE' ? : |
|
367
|
0 |
0 |
unless defined $parser |
|
389
|
0 |
0 |
if $cb |
|
392
|
0 |
0 |
unless $self->{'mpd_handle'} |
|
397
|
0 |
0 |
if ($success) { } |
|
422
|
0 |
0 |
if (&$check(@_)) |
|
435
|
0 |
1 |
if $self->auto_connect |
|
445
|
0 |
0 |
if $self->state eq 'ready' |
|
447
|
0 |
0 |
unless my $socket = 'IO::Socket::IP'->new($self->host . ':' . $self->port) |
|
466
|
0 |
0 |
unless ($self->{'mpd_handle'}) |