Condition Coverage

blib/lib/MooseX/Params/Validate.pm
Criterion Covered Total %
condition 13 23 56.5


and 3 conditions

line !l l&&!r l&&r condition
64 62 0 1 @$args == 1 && ref $$args[0] && reftype($$args[0]) eq 'HASH'
119 35 0 1 @$args == 1 && ref $$args[0] && reftype($$args[0]) eq 'HASH'
252 0 47 10 $pv_spec{'constraint'} and $pv_spec{'constraint'}->has_coercion
261 0 50 7 defined $maybe_tc and blessed $maybe_tc
50 0 7 defined $maybe_tc and blessed $maybe_tc and $maybe_tc->isa('Moose::Meta::TypeConstraint')

or 2 conditions

line l !l condition
268 0 133 shift() || 0

or 3 conditions

line l !l&&r !l&&!r condition
219 50 0 0 _is_tc($$spec{'isa'}) || Moose::Util::TypeConstraints::find_or_parse_type_constraint($$spec{'isa'}) || class_type($$spec{'isa'})
225 7 0 0 _is_tc($$spec{'does'}) || find_type_constraint($$spec{'does'}) || &role_type($$spec{'does'})