Branch Coverage

blib/lib/MVC/Neaf/X/Session/Base.pm
Criterion Covered Total %
branch 15 28 53.5


line true false branch
53 0 4 unless (defined $self->{'session_ttl'})
57 4 0 unless (defined $self->{'session_renewal_ttl'})
80 0 5 unless ref $hash eq "HASH"
102 2 0 unless ref $hash eq "HASH" and $hash->{'strfy'} || $hash->{'override'}
105 5 0 $hash->{'strfy'} ? :
106 0 5 if ($hash->{'override'})
112 0 5 unless $hash->{'data'}
115 0 5 if ($hash->{'expire'} and $hash->{'expire'} < time)
120 0 5 if ($self->need_renewal($hash->{'expire'}))
140 0 8 unless $ttl
142 8 0 unless defined $time
157 3 2 $time && $ttl ? :
167 0 5 if $@
179 0 5 if $@