Branch Coverage

blib/lib/Catalyst/ControllerRole/At.pm
Criterion Covered Total %
branch 32 34 94.1


line true false branch
77 8 33 $expansions{$_} ? :
82 1 19 if ($query)
87 2 0 if (defined $q_part)
88 1 1 if ($q_part =~ /=/)
93 1 1 $extra_proto{'Field'} ? :
98 3 17 if (($path_parts[-1] || '') eq "...")
104 15 2 if ($spec)
106 12 3 if $constraint
107 11 4 if ($name) { }
108 2 9 if ($name eq '*') { }
117 15 2 if defined $args
125 9 4 if (defined $name)
127 1 8 $extra_proto{'Field'} ? :
133 10 10 if (my($key, $value) = map({$_ =~ /^(.*?)(?:\(\s*['"]?(.+?)['"]?\s*\))?$/;} grep({$_ =~ /^Via\(.+\)$/;} @{[] unless $self->meta->get_method($action_subname)->attributes;})))
135 0 20 unless $self->meta->get_method($action_subname)->attributes
137 3 9 $expansions{$_} ? :
144 9 11 @arg_proto ? :