Branch Coverage

blib/lib/CGI/Application/Plugin/ActionDispatch.pm
Criterion Covered Total %
branch 30 34 88.2


line true false branch
21 4 7 unless ($data =~ m[^/])
65 0 21 unless 'Class::Inspector'->methods($class)
70 15 6 if (defined $_attr_cache{$class}{'Default'})
76 1 20 if (defined $_attr_cache{$class}{'ErrorRunmode'})
85 3 18 unless defined $ENV{'PATH_INFO'}
90 17 29 if ($code)
92 17 0 unless ($self->prerun_mode)
113 18 31 if (my(@args) = $path_info =~ /$$attr[1]/)
117 13 5 if ($type eq 'Path') { }
118 5 8 if (defined $args[0])
124 12 1 unless defined $min
127 8 5 if (scalar @path_args == 0) { }
5 0 elsif (scalar @path_args <= $min) { }
139 4 29 @path_args ? :
146 17 7 if (@args)
151 0 7 unless defined $$self{'__CAP_ACTION_ARGS'}
152 6 1 wantarray ? :