Branch Coverage

blib/lib/Class/MOP/Method/Accessor.pm
Criterion Covered Total %
branch 17 18 94.4


line true false branch
17 1 77753 unless exists $options{'attribute'}
22 1 77752 unless exists $options{'accessor_type'}
26 1 77751 unless &blessed($options{'attribute'}) and $options{'attribute'}->isa("Class::MOP::Attribute")
32 1 77750 unless $options{'package_name'} and $options{'name'}
51 3230 104993 if $class ne "Class::MOP::Method::Accessor"
54 104993 0 @_ == 1 ? :
84 36668 40050 $self->is_inline ? :
101 21 121 if (@_ >= 2)
136 3 4818 if @_ > 1