Branch Coverage

blib/lib/Mojolicious/Plugin/NamespaceForm.pm
Criterion Covered Total %
branch 8 14 57.1


line true false branch
157 0 1 $$config{'helpers'} ? :
163 0 10 unless my $original = delete $r->helpers->{$name}
167 0 6 unless $namespace
182 0 5 unless $name =~ /$namespace/
183 1 4 if $only_validated and not defined $$validated{$name}
235 0 2 unless $n
236 0 2 if $n > 1