Branch Coverage

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


line true false branch
25 8 30 $expansions{$_} ? :
30 1 16 if ($query)
35 2 0 if (defined $q_part)
36 1 1 if ($q_part =~ /=/)
41 1 1 $extra_proto{'Field'} ? :
46 3 14 if (($path_parts[-1] || '') eq '...')
52 15 2 if ($spec)
54 12 3 if $constraint
55 11 4 if ($name) { }
56 2 9 if ($name eq '*') { }
65 15 2 if defined $args
73 9 4 if (defined $name)
75 1 8 $extra_proto{'Field'} ? :
81 7 10 if (my($key, $value) = map({$_ =~ /^(.*?)(?:\(\s*(.+?)\s*\))?$/;} grep({$_ =~ /^Via\(.+\)$/;} @{[] unless $self->meta->get_method($action_subname)->attributes;})))
83 0 17 unless $self->meta->get_method($action_subname)->attributes
85 3 6 $expansions{$_} ? :
92 9 8 @arg_proto ? :