blib/lib/MooX/Validate.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 18 | 61.1 |
line | true | false | branch |
---|---|---|---|
23 | 1 | 1 | if (my $has = $target->can('has')) |
34 | 1 | 0 | if not $config{'coerce'} and ($validation and 'HASH' eq ref $validation and exists $$validation{'filters'}) |
40 | 1 | 0 | if not $config{'isa'} and ($validation and 'HASH' eq ref $validation) |
45 | 1 | 0 | if ($build_coercion) |
49 | 0 | 2 | @_ > 2 ? : |
66 | 1 | 0 | if ($build_validation) |
70 | 0 | 2 | @_ > 2 ? : |
81 | 1 | 1 | unless $validator->validate($name) |
99 | 2 | 0 | unless ($target->can('validator')) |