Branch Coverage

inc/Test/SharedFork/Store.pm
Criterion Covered Total %
branch 12 26 46.1


line true false branch
27 1 0 if (my $cb = $$self{'callback_on_open'})
30 0 1 unless sysopen my $fh, $$self{'filename'}, 66
54 0 48 unless seek $$self{'fh'}, 0, 0
72 0 14 unless seek $$self{'fh'}, 0, 0
77 0 14 unless seek $$self{'fh'}, 0, 0
86 27 36 if ($$self{'lock'}++ == 0)
87 0 27 unless flock $$self{'fh'}, 2
93 27 36 if ($$self{'lock'} == 0)
94 0 27 unless flock $$self{'fh'}, 8
102 0 173 if ($$self{'pid'} != $$)
104 0 0 if ($$self{'lock'} > 0)
105 0 0 unless flock $$self{'fh'}, 8
115 0 0 if ($$self{'ppid'} eq $$)