Condition Coverage

blib/lib/Cake/Dispatcher.pm
Criterion Covered Total %
condition 8 52 15.3


and 2 conditions

line l !l condition
204 0 0 $$self{'chain_action'} = $$self{'action_sequence'} and return

and 3 conditions

line !l l&&!r l&&r condition
13 3 0 0 defined $self->controller and $self->controller->can('begin')
19 3 0 0 defined $self->controller and $self->controller->can('end')
68 3 0 0 $$dispatch{$path} and $match = $$dispatch{$path}{$method}
3 0 0 $$dispatch{$path} and $match = $$dispatch{$path}{$method} and not $$dispatch{$path}{$method}{'chain'}
84 3 0 0 $$dispatch{$this} and $match = $$dispatch{$this}{$method}
3 0 0 $$dispatch{$this} and $match = $$dispatch{$this}{$method} and not $$dispatch{$this}{$method}{'chain'}
105 0 0 0 $return && $return == 1
200 0 0 0 not $next_chain and $newpath
0 0 0 not $next_chain and $newpath and !$args || $args && @captures
211 0 0 0 $return and $return == 1
250 0 0 0 $self->debug and @captures
263 0 0 0 @captures and ref $$match{'args'} eq 'ARRAY'

or 2 conditions

line l !l condition
241 0 0 $self->config->{$$match{'class'}} || {}

or 3 conditions

line l !l&&r !l&&!r condition
34 0 0 3 $args ||= $self->action->{'args'}
58 0 3 0 shift() || $self->path
135 0 0 0 $oldstrength eq '' or $strength < $oldstrength
200 0 0 0 !$args || $args && @captures