blib/lib/Input/Validator.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 17 | 22 | 77.2 |
line | l | !l | condition |
---|---|---|---|
102 | 0 | 31 | $errors and scalar keys %$errors |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
40 | 0 | 4 | 15 | @_ == 1 and ref $_[0] ne 'ARRAY' |
4 | 11 | 4 | @_ == 1 and ref $_[0] ne 'ARRAY' and $$self{'fields'}{$_[0]} | |
44 | 0 | 11 | 4 | @_ == 1 && ref $_[0] eq 'ARRAY' |
221 | 5 | 1 | 7 | defined $field->value and not $field->error |
line | l | !l | condition |
---|---|---|---|
23 | 2 | 12 | $$self{'messages'} ||= {} |
27 | 1 | 13 | $$self{'explicit'} ||= 0 |
111 | 18 | 0 | $$self{'errors'} ||= {} |
176 | 1 | 0 | $$self{'messages'}{'NOT_SPECIFIED'} || 'NOT_SPECIFIED' |