Condition Coverage

blib/lib/Validator/Custom.pm
Criterion Covered Total %
condition 27 36 75.0


and 3 conditions

line !l l&&!r l&&r condition
314 0 5 42 defined($c = substr($pattern, 0, 1, '')) and length $c
409 173 0 0 $rule_obj->{'version'} and $rule_obj->{'version'} == 1
481 3 3 10 $require and not exists $r->{'default'}
492 12 1 2 exists $r->{'default'} and $copy
584 1 0 1 exists $cresult->{'output'} and $is_valid
599 0 1 5 exists $r->{'default'} and $copy

or 2 conditions

line l !l condition
86 6 0 $self->{'checks'} || {}
113 4 0 $self->{'filters'} || {}
137 42 0 $self->{'checks'} || {}
152 8 0 $self->{'filters'} || {}
245 455 1 $self->constraints->{$cname} || ''
425 403 4 $r->{'constraints'} || []

or 3 conditions

line l !l&&r !l&&!r condition
362 168 8 1 $rule ||= $self->rule
493 3 3 9 $r->{'default'} or not $require