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
250 5 4 3 &looks_like_number($_[3]) && &looks_like_number($_[4])

or 2 conditions

line l !l condition
176 37 10 $type ||= "all"
214 47 14 $type //= 4

or 3 conditions

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