Branch Coverage

inc/Test/SharedFork/Store.pm
Criterion Covered Total %
branch 9 30 30.0


line true false branch
26 0 2 unless Storable::nstore_fd($init, $$self{'fh'})
33 2 0 if (my $cb = $$self{'callback_on_open'})
36 0 2 unless sysopen my $fh, $$self{'filename'}, 66
50 0 6 unless seek $$self{'fh'}, 0, 0
59 0 0 unless seek $$self{'fh'}, 0, 0
64 0 0 unless seek $$self{'fh'}, 0, 0
65 0 0 unless Storable::nstore_fd($dat, $$self{'fh'})
75 0 12 if ($$self{'pid'} != $$)
77 0 0 if ($$self{'lock'} > 0)
78 0 0 unless flock $$self{'fh'}, 8
88 0 0 if ($$self{'ppid'} eq $$)
103 6 0 if ($$store{'lock'}++ == 0)
104 0 6 unless flock $$store{'fh'}, 2
114 6 0 if ($$self{'store'}{'lock'} == 0)
115 0 6 unless flock $$self{'store'}{'fh'}, 8