Branch Coverage

blib/lib/Class/MOP/Instance.pm
Criterion Covered Total %
branch 12 16 75.0


line true false branch
17 0 21139 if (@args == 1) { }
0 42278 elsif (@args >= 2 and &blessed($args[0]) and $args[0]->isa('Class::MOP::Class')) { }
27 0 21139 unless $options{'attributes'}
48 11 18541 if $class ne "Class::MOP::Instance"
51 0 18541 @_ == 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)