Branch Coverage

blib/lib/Audio/Play/MPG123.pm
Criterion Covered Total %
branch 0 48 0.0


line true false branch
32 0 0 unless $$self{'mpg123args'}
39 0 0 unless open DEVNULL, '>/dev/null'
43 0 0 unless $$self{'pid'}
46 0 0 unless $self->parse(qr/^\@?R (\S+)/, 1)
52 0 0 if (delete $$self{'pid'})
63 0 0 if $$self{'buf'} =~ s/^([^\n]*)\n+//
67 0 0 if (defined $len or $! != 11 and $! != 4) { }
68 0 0 if $len == 0
70 0 0 if ($wait) { }
85 0 0 if ($line =~ /^\@F (.*)$/) { }
0 0 elsif ($line =~ /^\@S (.*)$/) { }
0 0 elsif ($line =~ /^\@I ID3:(.{30})(.{30})(.{30})(....)(.{30})(.*)$/) { }
0 0 elsif ($line =~ /^\@I (.*)$/) { }
0 0 elsif ($line =~ /^\@P (\d+)(?: (\S+))?$/) { }
0 0 elsif ($line =~ /^\@E (.*)$/) { }
0 0 elsif (not $line =~ /$re/) { }
92 0 0 $$self{'layer'} > 1 ? :
93 0 0 if $$self{'lsf'}
113 0 0 if $line =~ /$re/
122 0 0 if $wait
129 0 0 unless ($url =~ m[^http://])
131 0 0 unless $url =~ m[^/]
140 0 0 unless ($url =~ /^http:/ or -f $url)
154 0 0 unless $$self{'state'}