Branch Coverage

blib/lib/MPMinusX/AuthSsn.pm
Criterion Covered Total %
branch 28 50 56.0


line true false branch
297 0 3 unless ref($m) =~ /MPMinus/
327 0 3 if $usid
337 1 0 $self->{'session'} && ref $self->{'session'} eq 'HASH' ? :
345 1 0 if ($sfile)
346 0 1 if -e $sfile and -s _
349 1 0 unless ($self->{'prepared'})
368 0 1 if ($@) { }
371 0 1 if ($usid) { }
380 1 0 if ($create)
403 4 0 if ($callback and ref $callback eq 'CODE')
404 3 1 unless &$callback($self, @_)
419 2 0 if ($callback and ref $callback eq 'CODE')
420 1 1 unless &$callback($self, @_)
424 0 1 unless $self->init(undef, 1)
430 1 2 unless $self->status
437 0 2 if ($accessto)
443 2 0 if ($callback and ref $callback eq 'CODE')
444 1 1 unless &$callback($self, @_)
460 2 0 $self->{'session'}{'expires'} ? :
467 9 4 if ($nr)
490 0 0 if $self->{'status'}
497 0 0 unless grep {$_ eq 'DEFAULT';} keys %{$$self{'transtable'};}
505 0 3 unless defined $str
506 0 3 if $str =~ /^[-+]?(\d+)$/
519 0 3 unless (defined $koef and defined $d)