Branch Coverage

blib/lib/AnyEvent/Net/MPD.pm
Criterion Covered Total %
branch 1 38 2.6


line true false branch
102 0 0 if ($line =~ /\w/)
104 0 0 if ($line =~ /^OK/) { }
0 0 elsif ($line =~ /^ACK/) { }
105 0 0 if ($line =~ /OK MPD (.*)/) { }
109 0 0 if $self->password and $self->state ne 'ready'
297 0 0 unless $cv->ready
306 0 0 if $cv
314 0 0 ref $_[0] eq 'HASH' ? :
315 0 0 if ref $_[-1] eq 'CODE'
319 0 0 if (ref $commands[0] eq 'ARRAY') { }
321 0 0 ref $_ eq 'ARRAY' ? :
333 0 0 unless $command =~ /^replay_gain_/
339 0 0 if (scalar @commands > 1)
346 0 0 unless ref $parser eq 'CODE'
348 0 0 $cb ? :
369 0 0 if (&$check(@_))
384 0 1 if $self->auto_connect
391 0 0 unless my($fh) = @_
429 0 0 if $self->state eq 'ready'