blib/lib/MouseX/Params/Validate.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 0 | 23 | 0.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
164 | 0 | 0 | 0 | @$args == 1 && ref $args->[0] && &reftype($args->[0]) eq 'HASH' |
241 | 0 | 0 | 0 | @$args == 1 && ref $args->[0] && &reftype($args->[0]) eq 'HASH' |
387 | 0 | 0 | 0 | $pv_spec{'constraint'} and $pv_spec{'constraint'}->has_coercion |
396 | 0 | 0 | 0 | defined $maybe_tc and &blessed($maybe_tc) |
0 | 0 | 0 | defined $maybe_tc and &blessed($maybe_tc) and $maybe_tc->isa('Mouse::Meta::TypeConstraint') |
line | l | !l | condition |
---|---|---|---|
404 | 0 | 0 | shift() || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
367 | 0 | 0 | 0 | _is_tc($spec->{'isa'}) || Mouse::Util::TypeConstraints::find_or_parse_type_constraint($spec->{'isa'}) || class_type($spec->{'isa'}) |
373 | 0 | 0 | 0 | _is_tc($spec->{'isa'}) || find_type_constraint($spec->{'does'}) || role_type($spec->{'does'}) |