Branch Coverage

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


line true false branch
17 1 79902 unless exists $options{'attribute'}
22 1 79901 unless exists $options{'accessor_type'}
26 1 79900 unless &blessed($options{'attribute'}) and $options{'attribute'}->isa("Class::MOP::Attribute")
32 1 79899 unless $options{'package_name'} and $options{'name'}
51 3277 107935 if $class ne "Class::MOP::Method::Accessor"
54 107935 0 @_ == 1 ? :
84 37724 41143 $self->is_inline ? :
101 21 121 if (@_ >= 2)
136 3 4950 if @_ > 1