Branch Coverage

blib/lib/Class/Data/Accessor.pm
Criterion Covered Total %
branch 13 14 92.8


line true false branch
11 2 5 if (ref $declaredclass)
15 1 4 if ($attribute eq 'DESTROY')
20 2 15 if (ref $_[0])
21 1 1 if @_ > 1
22 0 1 if exists $_[0]{$attribute}
27 2 14 if @_ > 1 and $wantclass ne $declaredclass
30 3 11 if @_ > 1