Branch Coverage

blib/lib/mop/attribute.pm
Criterion Covered Total %
branch 15 18 83.3


line true false branch
35 21 10 if exists $args{'default'}
36 31 0 if exists $args{'storage'}
50 5 219 unless $default{$self}
52 1 218 if (ref $value and ref $value ne 'CODE')
53 0 1 $self->associated_meta ? :
77 1 5 if (ref $value and ref $value ne 'CODE')
78 1 0 $self->associated_meta ? :
88 2800 454 if (ref $value and ref $value eq 'CODE')
121 3253 2714 if $self->has_default