Branch Coverage

blib/lib/MoobX.pm
Criterion Covered Total %
branch 12 20 60.0


line true false branch
29 16 16 if ($name eq 'attributes') { }
16 0 elsif ($name eq 'traits') { }
32 0 16 unless eval "\n package $target;\n use parent 'MoobX::Attributes';\n 1;\n "
47 0 108 unless @_ <= 1
0 108 unless @_ >= 1
61 0 36 unless @_ >= 1
93 9 22 if ($type eq 'SCALAR') { }
17 5 elsif ($type eq 'ARRAY') { }
5 0 elsif ($type eq 'HASH') { }
0 0 elsif (not $type) { }