Branch Coverage

blib/lib/MooseX/AttributeHelpers/MethodProvider/Hash.pm
Criterion Covered Total %
branch 11 20 55.0


line true false branch
10 2 0 if ($attr->has_type_constraint and $attr->type_constraint->isa('Moose::Meta::TypeConstraint::Parameterized')) { }
19 2 12 unless $container_type_constraint->check($value)
25 4 4 if (@values > 1) { }
34 0 0 if (@_ == 3) { }
54 4 0 if ($attr->has_type_constraint and $attr->type_constraint->isa('Moose::Meta::TypeConstraint::Parameterized')) { }
59 2 5 if (@_ == 1) { }
2 3 elsif (@_ == 2) { }
63 0 2 unless $container_type_constraint->check($_[1])
76 0 0 if (@_ == 1) { }
0 0 elsif (@_ == 2) { }