| blib/lib/Params/Validate/Dependencies.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 16 | 21 | 76.1 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 112 | 1 | 0 | 17 | &blessed($sub) and $sub->can('_document') |
| 126 | 0 | 23 | 21 | ref $_[0] and ref($_[0]) =~ /HASH/ |
| 277 | 17 | 102 | 0 | not ref $option and exists $params{$option} |
| 51 | 7 | 10 | ref $option and &$option(\%params) | |
| 312 | 1 | 0 | 18 | &blessed($_) && $_->isa('Params::Validate::Dependencies::Documenter') |
| 66 | 2 | 19 | ref $_ and not ref($_) =~ /CODE/ |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 277 | 51 | 0 | 68 | not ref $option and exists $params{$option} or ref $option and &$option(\%params) |