lib/Data/Validation.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 13 | 14 | 92.8 |
line | true | false | branch |
---|---|---|---|
115 | 1 | 5 | unless $form and ref $form eq 'HASH' |
120 | 0 | 30 | unless $conf and $conf->{'filters'} || $conf->{'validate'} |
124 | 5 | 24 | if &$_should_compare($conf) |
130 | 3 | 2 | if @errors |
138 | 1 | 102 | unless ($id and $conf = $self->fields->{$id} and $conf->{'filters'} || $conf->{'validate'}) |
143 | 13 | 102 | if $conf->{'filters'} |
144 | 111 | 3 | if $conf->{'validate'} |