Branch Coverage

blib/lib/Moose/Meta/Method/Accessor/Native/Collection.pm
Criterion Covered Total %
branch 18 20 90.0


line true false branch
14 187 21 unless $self->associated_attribute->should_coerce
16 19 2 unless $self->_tc_member_type_can_coerce
37 532 904 if $tc->can("type_parameter")
56 0 271 unless $self->_constraint_must_be_checked
58 174 97 if ($self->_check_new_members_only) { }
59 33 141 unless $self->_adds_members
80 47 206 if $attr->should_coerce and $tc->has_coercion
89 174 25 if $self->_is_root_type($tc->parent) and $tc->isa('Moose::Meta::TypeConstraint::Parameterized') || !$tc->can('parameterize')
103 141 0 $self->_tc_member_type->can_be_inlined ? :
129 322 35 unless $attr->has_trigger