lib/Data/Validation.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 14 | 92.8 |
line | true | false | branch |
---|---|---|---|
114 | 1 | 5 | unless $form and ref $form eq 'HASH' |
119 | 0 | 30 | unless $conf and $conf->{'filters'} || $conf->{'validate'} |
123 | 5 | 24 | if &$_should_compare($conf) |
129 | 3 | 2 | if @errors |
137 | 1 | 98 | unless ($id and $conf = $self->fields->{$id} and $conf->{'filters'} || $conf->{'validate'}) |
142 | 13 | 98 | if $conf->{'filters'} |
143 | 107 | 3 | if $conf->{'validate'} |