Condition Coverage

lib/Test/WWW/Mechanize/Catalyst.pm
Criterion Covered Total %
condition 16 23 69.5


and 3 conditions

line !l l&&!r l&&r condition
47 0 42 3 defined $n && exists $args->{$n}
85 1 31 3 not $self->{'catalyst_debug'} and $response->code == 500
32 3 0 not $self->{'catalyst_debug'} and $response->code == 500 and $response->content =~ /on Catalyst \d+\.\d+/
101 28 6 1 $redirects > 0 and $redirects >= $self->max_redirect
106 27 1 6 $response->header('Location') and $response->is_redirect
28 0 6 $response->header('Location') and $response->is_redirect and $self->redirect_ok($request, $response)
191 36 0 0 $self->allow_external and $request->uri->host_port ne 'localhost:80'

or 2 conditions

line l !l condition
91 0 0 $error ||= 'unknown error'