Branch Coverage

blib/lib/Daemon/Mplayer.pm
Criterion Covered Total %
branch 0 34 0.0


line true false branch
31 0 0 if $PID
32 0 0 unless defined $PID
36 0 0 unless defined $PID
38 0 0 if ($PID) { }
0 0 elsif ($PID == 0) { }
39 0 0 unless open my $fh, '>', $pidfile
48 0 0 unless open my $fh, '>', $pidfile
54 0 0 unless $ENV{'DEBUG'}
55 0 0 unless $ENV{'DEBUG'}
56 0 0 unless $ENV{'DEBUG'}
66 0 0 if ref $mplayer ne 'HASH'
70 0 0 if (not -f $pidfile and $pidfile =~ /^\d+$/)
71 0 0 if kill 9, $pidfile
73 0 0 unless open my $fh, '<', $pidfile
79 0 0 unless ($pid =~ /^\d+$/)
83 0 0 if (kill 9, $pid) { }
84 0 0 unless unlink $pidfile