blib/lib/Params/Validate/Dependencies.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 18 | 21 | 85.7 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
112 | 6 | 0 | 32 | &blessed($sub) and $sub->can('_document') |
133 | 0 | 23 | 23 | ref $_[0] and ref($_[0]) =~ /HASH/ |
311 | 17 | 52 | 56 | not ref $option and exists $params{$option} |
52 | 7 | 10 | ref $option and &$option(\%params) | |
346 | 1 | 0 | 18 | &blessed($_) && $_->isa('Params::Validate::Dependencies::Documenter') |
72 | 2 | 19 | ref $_ and not ref($_) =~ /CODE/ |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
311 | 56 | 23 | 46 | not ref $option and exists $params{$option} or ref $option and &$option(\%params) |