Branch Coverage

lib/Test/WWW/Mechanize/CGIApp.pm
Criterion Covered Total %
branch 17 24 70.8


line true false branch
19 2 2 if (exists $cnf{'app'})
25 2 2 if $app
32 4 8 if (@_)
42 8 0 if $self->cookie_jar
48 8 0 if $self->cookie_jar
51 0 8 if ($response->header('Location') and $self->redirect_ok($request, $response))
82 4 4 unless $request->uri =~ /^http/
95 8 0 if (defined $app) { }
96 3 5 if (ref $app) { }
97 3 0 if (ref $app eq 'CODE') { }
108 0 5 if ($app->isa('CGI::Application::Dispatch')) { }
5 0 elsif ($app->isa('CGI::Application')) { }