Branch Coverage

blib/lib/IPC/Queue/Duplex.pm
Criterion Covered Total %
branch 10 30 33.3


line true false branch
21 0 4 unless $args{'Dir'} and -d $args{'Dir'}
27 0 10 unless $jobstr
38 0 0 unless $filename and $jobstr
53 10 0 if (not defined $filename or -M $file > $oldestage)
58 149 10 unless $filename
59 0 10 unless -e $filename
61 0 10 unless flock $jobfh, 6
63 10 0 if rename $filename, $filework
65 10 149 if ($filework)
80 0 0 if (not defined $filename or -M $file > $oldestage)
85 0 0 unless $filename
86 0 0 unless -e $filename
88 0 0 unless flock $jobfh, 6
90 0 0 if rename $filename, $filefin
92 0 0 if ($filefin)