Branch Coverage

blib/lib/CGI/Session/Test/Default.pm
Criterion Covered Total %
branch 14 28 50.0


line true false branch
43 0 2 if ($self->{'skip'}) { }
64 0 2 if (@_)
88 0 2 unless my $session = "CGI::Session"->load
96 0 2 unless $session = "CGI::Session"->new($self->{'dsn'}, "_DOESN'T EXIST_", $self->{'args'})
142 0 2 if ($@ or "CGI::Session"->errstr)
198 0 2 unless my $session = "CGI::Session"->load($self->{'dsn'}, $sid, $self->{'args'})
208 0 2 unless $session = $session->new
233 0 2 unless my $session = "CGI::Session"->new($self->{'dsn'}, $sid, $self->{'args'})
243 0 2 unless my $session = "CGI::Session"->new($self->{'dsn'}, $sid, $self->{'args'})
254 0 2 unless my $session = "CGI::Session"->new($self->{'dsn'}, $sid, $self->{'args'})
311 0 2 unless my $session = "CGI::Session"->new($self->{'dsn'}, $sid, $self->{'args'})
357 0 186 if ($CGI::Session::Test::Default::CURRENT->{'_skip'}{$CGI::Session::Test::Default::CURRENT->{'test_number'}})
374 16 0 unless $name
377 0 16 if ($CGI::Session::Test::Default::CURRENT->{'_skip'}{$CGI::Session::Test::Default::CURRENT->{'test_number'}}) { }