Condition Coverage

lib/Drogo/Dispatch.pm
Criterion Covered Total %
condition 9 22 40.9


and 3 conditions

line !l l&&!r l&&r condition
102 15 0 0 $params{'auto_redirect'} and $dispatch_data->{'index'}
0 0 0 $params{'auto_redirect'} and $dispatch_data->{'index'} and not $path =~ m[/$]
111 13 0 2 $dispatch_data->{'error'} and $dispatch_data->{'error'} eq "bad_dispatch"

or 2 conditions

line l !l condition
83 0 15 $params{'app_path'} || ''
143 3 10 $dispatch_data->{'post_args'} || []

or 3 conditions

line l !l&&r !l&&!r condition
42 0 1 0 $params{'class'} || caller
60 0 15 0 $custom_params{'server'} || $self
84 15 0 0 $params{'uri'} || $self->uri