Branch Coverage

blib/lib/Catalyst/Controller/HTML/FormFu.pm
Criterion Covered Total %
branch 22 40 55.0


line true false branch
28 6 106 unless ref $c
32 106 0 unless &isweak($self->{'c'})
121 0 34 @_ ? :
126 26 8 if ($config->{'request_token_enable'})
146 0 0 @_ ? :
157 0 34 unless defined $form
163 34 0 if ($config->{'config_callback'})
166 0 58 unless defined $_
167 5 53 if /__uri_for\(/
171 0 58 if /__path_to\(/
175 0 58 if /__config\(/
182 0 34 unless &isweak($self->{'c'})
185 0 34 if ($config->{'languages_from_context'})
189 0 34 if ($config->{'localize_from_context'})
193 0 34 if ($config->{'default_action_use_name'}) { }
34 0 elsif ($config->{'default_action_use_path'}) { }
198 0 0 if $self->{'c'}->debug
207 0 34 if $self->{'c'}->debug
243 99 2385 if (exists $args{'attributes'}{$attr}) { }
0 2385 elsif (exists $args{'attributes'}{"$attr()"}) { }