Branch Coverage

blib/lib/CGI/Session/Test/Default.pm
Criterion Covered Total %
branch 16 28 57.1


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'}, q[_DOESN'T EXIST_], $$self{'args'})
142 1 1 if ($@ or 'CGI::Session'->errstr)
198 1 1 unless my $session = 'CGI::Session'->load($$self{'dsn'}, $sid, $$self{'args'})
208 0 1 unless $session = $session->new
233 0 1 unless my $session = 'CGI::Session'->new($$self{'dsn'}, $sid, $$self{'args'})
243 0 1 unless my $session = 'CGI::Session'->new($$self{'dsn'}, $sid, $$self{'args'})
254 0 1 unless my $session = 'CGI::Session'->new($$self{'dsn'}, $sid, $$self{'args'})
311 0 1 unless my $session = 'CGI::Session'->new($$self{'dsn'}, $sid, $$self{'args'})
357 0 116 if ($$CURRENT{'_skip'}{$$CURRENT{'test_number'}})
374 8 0 unless $name
377 0 8 if ($$CURRENT{'_skip'}{$$CURRENT{'test_number'}}) { }