Branch Coverage

blib/lib/Forks/Queue/Shmem.pm
Criterion Covered Total %
branch 17 26 65.3


line true false branch
16 0 43 unless (-d $DEV_SHM)
20 22 21 if ($opts{'file'}) { }
52 0 43 unless open $fh, '>>', $opts{'lock'}
54 0 43 unless close $fh
58 2 41 if ($opts{'join'} and -f $opts{'file'}) { }
60 0 2 unless open $fh, '+<', $opts{'file'}
65 2 39 if (-f $opts{'file'})
69 0 41 unless open $fh, '>>', $opts{'file'}
71 0 41 unless close $fh
74 0 41 unless open $fh, '+<', $opts{'file'}
87 41 0 if (tell $fh < $self->{'_header_size'})
91 5 38 if (defined $list)
92 5 0 if (ref $list eq 'ARRAY') { }