Branch Coverage

blib/lib/CGI/Session/ExpireSessions.pm
Criterion Covered Total %
branch 19 64 29.6


line true false branch
89 1 0 if ($time - $D->{'_SESSION_ATIME'} >= $self->{'_delta'})
93 1 0 if $self->{'_verbose'}
96 0 1 if ($D->{'_SESSION_ETIME'} and not $expired)
98 0 0 if $time >= $D->{'_SESSION_ATIME'} + $D->{'_SESSION_ETIME'}
100 0 0 if $self->{'_verbose'}
123 0 1 if $session->is_empty
125 1 0 if ($session->is_expired or $args->{'_time'} - $session->atime >= $args->{'_delta'})
127 1 0 if $args->{'_verbose'}
147 0 0 if %arg
149 0 0 unless $self->{'_dbh'}
157 0 0 if (defined $self->{'_serializer'})
170 0 0 if ($serializer eq 'eval') { }
174 0 0 if $self->_check_expiry($D)
181 0 0 if $self->_check_expiry($thawed)
187 0 0 if $self->{'_verbose'}
196 0 0 if ($#id < 0 and $self->{'_verbose'})
209 0 1 if %arg
211 0 1 unless $self->{'_temp_dir'}
213 0 1 unless opendir INX, $self->{'_temp_dir'}
228 0 1 if ($time - $stat[8] >= $self->{'_delta'} and $stat[7] <= 5)
232 0 0 if $self->{'_verbose'}
241 0 1 if $stat[7] <= 5
243 0 1 unless open INX, $file
256 0 1 if ($@)
258 0 0 if $self->{'_verbose'}
263 1 0 if ($self->_check_expiry($D))
267 1 0 if $self->{'_verbose'}
273 0 0 if $count == 0 and $self->{'_verbose'}
283 0 1 unless 'CGI::Session'->can('find')
289 0 1 if %arg
316 6 10 if (exists $arg{$arg_name}) { }
338 0 0 if exists $$self{"_$arg"}