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
317 0 5 42 defined($c = substr($pattern, 0, 1, '')) and length $c
414 173 0 0 $rule_obj->{'version'} and $rule_obj->{'version'} == 1
486 3 3 10 $require and not exists $r->{'default'}
497 12 1 2 exists $r->{'default'} and $copy
589 1 0 1 exists $cresult->{'output'} and $is_valid
604 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} || ''
430 403 4 $r->{'constraints'} || []

or 3 conditions

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