Branch Coverage

blib/lib/Apache/Session/Store/File.pm
Criterion Covered Total %
branch 16 28 57.1


line true false branch
38 0 4 if (-e $directory . '/' . $session->{'data'}{'_session_id'})
43 0 4 unless sysopen $self->{'fh'}, $file, 66
58 0 2 unless ($self->{'opened'})
60 0 0 unless sysopen $self->{'fh'}, $file, 66
66 0 2 unless truncate $self->{'fh'}, 0
79 2 1 if (-e $file) { }
80 2 0 if (not $self->{'opened'}) { }
81 0 2 unless sysopen $self->{'fh'}, $file, 66
87 0 0 unless seek $self->{'fh'}, 0, 0
108 3 1 if ($self->{'opened'})
114 4 0 if (-e $file) { }
115 0 4 unless unlink $file
126 1 2 if ($self->{'opened'})
135 2 6 if ($self->{'opened'})