blib/lib/Validator/Custom/Result.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 21 | 24 | 87.5 |
line | true | false | branch |
---|---|---|---|
15 | 116 | 1 | if (defined $name) { } |
16 | 67 | 49 | exists $self->{'_error_infos'}{$name} ? : |
19 | 0 | 1 | !keys(%{$$self{'_error_infos'};}) ? : |
27 | 1 | 62 | unless $name |
67 | 24 | 22 | !($self->has_invalid || $self->has_missing) ? : |
95 | 5 | 25 | @{(shift())->missing_params;} ? : |
101 | 32 | 26 | keys %{$$self{'_error_infos'};} ? : |
116 | 6 | 1 | unless ref $param eq 'ARRAY' |
132 | 1 | 3 | unless $name |
146 | 0 | 0 | ref $_[0] eq 'HASH' ? : |
159 | 8 | 6 | wantarray ? : |
171 | 29 | 2 | wantarray ? : |