Branch Coverage

blib/lib/CGI/Session/Test/Default.pm
Criterion Covered Total %
branch 12 20 60.0


line true false branch
51 0 2 if (@_)
74 0 2 unless my $session = 'CGI::Session'->load
82 0 2 unless $session = 'CGI::Session'->new($$self{'dsn'}, q[_DOESN'T EXIST_], $$self{'args'})
128 1 1 if ($@ or 'CGI::Session'->errstr)
184 1 1 unless my $session = 'CGI::Session'->load($$self{'dsn'}, $sid, $$self{'args'})
194 0 1 unless $session = $session->new
219 0 1 unless my $session = 'CGI::Session'->new($$self{'dsn'}, $sid, $$self{'args'})
229 0 1 unless my $session = 'CGI::Session'->new($$self{'dsn'}, $sid, $$self{'args'})
240 0 1 unless my $session = 'CGI::Session'->new($$self{'dsn'}, $sid, $$self{'args'})
293 0 1 unless my $session = 'CGI::Session'->new($$self{'dsn'}, $sid, $$self{'args'})