blib/lib/Validator/Custom.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 27 | 36 | 75.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
316 | 0 | 5 | 42 | defined($c = substr($pattern, 0, 1, '')) and length $c |
413 | 173 | 0 | 0 | $rule_obj->{'version'} and $rule_obj->{'version'} == 1 |
485 | 3 | 3 | 10 | $require and not exists $r->{'default'} |
496 | 12 | 1 | 2 | exists $r->{'default'} and $copy |
588 | 1 | 0 | 1 | exists $cresult->{'output'} and $is_valid |
603 | 0 | 1 | 5 | exists $r->{'default'} and $copy |
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} || '' |
429 | 403 | 4 | $r->{'constraints'} || [] |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
364 | 168 | 8 | 1 | $rule ||= $self->rule |
497 | 3 | 3 | 9 | $r->{'default'} or not $require |