blib/lib/Class/MOP/Instance.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 12 | 16 | 75.0 |
line | true | false | branch |
---|---|---|---|
17 | 0 | 21726 | if (@args == 1) { } |
0 | 43452 | elsif (@args >= 2 and &blessed($args[0]) and $args[0]->isa('Class::MOP::Class')) { } | |
27 | 0 | 21726 | unless $options{'attributes'} |
48 | 11 | 19085 | if $class ne "Class::MOP::Instance" |
51 | 0 | 19085 | @_ == 1 ? : |
82 | 10 | 162 | unless $attr->has_value($instance) |
86 | 3 | 160 | if $self->slot_value_is_weak($instance, $slot) |
91 | 1 | 16 | if $self->_has_mop_slot($instance) |