Branch Coverage

blib/lib/Schedule/At.pm
Criterion Covered Total %
branch 2 48 4.1


line true false branch
46 0 0 $params{'FILE'} ? :
47 0 0 if ref $command eq 'CODE'
54 0 0 if ($SHELL)
58 0 0 if ($params{'FILE'}) { }
65 0 0 if $params{'TAG'}
68 0 0 ref $params{'COMMAND'} eq 'ARRAY' ? :
80 0 0 if ($params{'JOBID'}) { }
82 0 0 if ref $command eq 'CODE'
88 0 0 unless defined $params{'TAG'}
94 0 0 unless defined $$job{'JOBID'} and defined $$job{'TAG'}
97 0 0 if ($$job{'JOBID'} and $params{'TAG'} eq $$job{'TAG'})
113 0 1 if ref $command eq 'CODE'
115 1 0 unless open ATCMD, "$command |"
118 0 0 if (defined $AT{'headings'})
120 0 0 if $atLine =~ /$head/
130 0 0 if $param{'TAG'} and !$atJob{'TAG'} || $atJob{'TAG'} ne $param{'TAG'}
132 0 0 if $param{'JOBID'} and !$atJob{'JOBID'} || $atJob{'JOBID'} ne $param{'JOBID'}
162 0 0 if ref $command eq 'CODE'
167 0 0 unless open JOB, "$command"
184 0 0 if $commandLine =~ /$TAGID(.*)$/
198 0 0 if ref $timeFormat eq 'CODE'
382 0 0 if (stat $filename)[1] == $jobid
418 0 0 $fields[1] =~ /^d/ ? :
456 0 0 if ($user eq 'root') { }