Condition Coverage

blib/lib/Mojolicious/Plugin/Validate/Tiny.pm
Criterion Covered Total %
condition 1 19 5.2


and 3 conditions

line !l l&&!r l&&r condition
110 0 0 0 $errors and keys %$errors
122 0 0 0 $errors and defined $errors->{$name}
158 1 0 0 $stash->{'controller'} and $stash->{'action'}

or 2 conditions

line l !l condition
34 0 0 $rules->{'fields'} ||= []
132 0 0 $params //= {}

or 3 conditions

line l !l&&r !l&&!r condition
37 0 0 0 $params ||= $c->req->params->to_hash
40 0 0 0 $$params{$_->name} ||= $_