Condition Coverage

blib/lib/Mojolicious/Plugin/AdditionalValidationChecks.pm
Criterion Covered Total %
condition 22 22 100.0


and 3 conditions

line !l l&&!r l&&r condition
63 2 2 3 $min and $length < $min
64 1 2 1 $max and $length > $max
233 5 4 3 &looks_like_number($_[3]) && &looks_like_number($_[4])

or 2 conditions

line l !l condition
159 37 10 $type ||= 'all'
197 47 14 $type //= 4

or 3 conditions

line l !l&&r !l&&!r condition
61 5 2 1 $min or $max
237 1 1 1 $_[2] < $_[3] || $_[2] > $_[4]
240 2 3 4 ($_[2] cmp $_[3]) == -1 || ($_[4] cmp $_[2]) == -1