Branch Coverage

blib/lib/Catalyst/ActionChain.pm
Criterion Covered Total %
branch 28 42 66.6


line true false branch
34 0 247 unless $c->req->captures
50 7 0 if ($self->_has_chain_last_action) { }
51 7 0 @args ? :
54 0 0 if $ctx->action->chain->[-1]->can("next")
63 0 548 unless $self->_current_chain_actions
65 4 294 if $self->_abort_needed($c)
67 242 7 if ($self->_has_chain_last_action)
70 4 238 if $self->_has_chain_next_args
80 0 299 unless $self->_current_chain_actions
83 180 119 if (my $cap = $action->number_of_captures)
84 0 180 unless $self->_chain_captures
86 3 296 if $self->_has_chain_next_args
94 176 122 defined $c->config->{'abort_chain_on_error_fix'} ? :
95 4 294 if $c->has_errors and $abort
115 0 0 unless $captures
119 0 0 unless $link->match_captures($c, \@local_captures)
125 0 47 unless $captures
129 103 13 unless $link->has_captures_constraints
130 3 10 unless $link->match_captures_constraints($c, \@local_captures)
142 8 109 exists $_->attributes->{'Scheme'} ? :
145 0 48 if @more