blib/lib/Moose/Meta/Method/Accessor/Native/Writer.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 9 | 15 | 60.0 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
83 | 0 | 1493 | 0 | $attr->has_type_constraint && (!$self->_is_root_type($attr->type_constraint) || $attr->should_coerce && $attr->type_constraint->has_coercion) |
92 | 0 | 1699 | 0 | &blessed($type) and $type->can("does") |
1699 | 0 | 0 | &blessed($type) and $type->can("does") and $type->does("Specio::Constraint::Role::Interface") |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
145 | 167 | 52 | 394 | $self->_writer_value_needs_copy or not $self->_slot_access_can_be_inlined |
219 | 63 | 331 | $self->_writer_value_needs_copy or not $self->_slot_access_can_be_inlined or not $self->_get_is_lvalue |