Condition Coverage

blib/lib/MojoX/Validate/Util.pm
Criterion Covered Total %
condition 8 14 57.1


and 3 conditions

line !l l&&!r l&&r condition
85 0 0 2 &is_number($one) && &is_number($two)

or 2 conditions

line l !l condition
76 2 3 $2 || ''

or 3 conditions

line l !l&&r !l&&!r condition
121 0 0 0 length $value == 0 || !($value =~ /^[0-9]+$/)
133 1 5 3 length $params->{$topic} == 0 || $self->validation->required($topic)->dimension(@$units)->is_valid
234 0 3 1 length $params->{$topic} == 0 || $self->validation->required($topic)->url->is_valid