Branch Coverage

blib/lib/PerlBean/Attribute/Factory.pm
Criterion Covered Total %
branch 15 18 83.3


line true false branch
219 0 6 defined $_[0] ? :
222 0 6 unless ref $opt eq 'HASH'
233 49 44 if (not defined $$opt{'type'} or $$opt{'type'} eq 'SINGLE') { }
19 25 elsif ($$opt{'type'} eq 'BOOLEAN') { }
25 0 elsif ($$opt{'type'} eq 'MULTI') { }
242 16 9 if ($$opt{'unique'}) { }
243 2 14 if ($$opt{'ordered'}) { }
8 6 elsif ($$opt{'associative'}) { }
248 6 2 if ($$opt{'method_key'}) { }