Branch Coverage

blib/lib/MooseX/AttributeHelpers/MethodProvider/Array.pm
Criterion Covered Total %
branch 16 32 50.0


line true false branch
11 5 0 if ($attr->has_type_constraint and $attr->type_constraint->isa('Moose::Meta::TypeConstraint::Parameterized')) { }
38 4 0 if ($attr->has_type_constraint and $attr->type_constraint->isa('Moose::Meta::TypeConstraint::Parameterized')) { }
72 2 0 if ($attr->has_type_constraint and $attr->type_constraint->isa('Moose::Meta::TypeConstraint::Parameterized')) { }
75 2 2 unless $container_type_constraint->check($_[2])
90 2 0 if ($attr->has_type_constraint and $attr->type_constraint->isa('Moose::Meta::TypeConstraint::Parameterized')) { }
95 2 6 if (@_ == 1) { }
2 4 elsif (@_ == 2) { }
99 0 2 unless $container_type_constraint->check($_[1])
112 0 0 if (@_ == 1) { }
0 0 elsif (@_ == 2) { }
141 0 0 if ($attr->has_type_constraint and $attr->type_constraint->isa('Moose::Meta::TypeConstraint::Parameterized')) { }
144 0 0 unless $container_type_constraint->check($_[2])
158 2 0 if ($attr->has_type_constraint and $attr->type_constraint->isa('Moose::Meta::TypeConstraint::Parameterized')) { }
163 0 0 defined $_ ? :
180 2 6 if $predicate and ref $predicate ne 'CODE'
184 4 2 if ($predicate) { }