blib/lib/MoobX.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 11 | 16 | 68.7 |
line | true | false | branch |
---|---|---|---|
33 | 16 | 64 | if ($name eq '__ATTRIBUTES__') { } |
16 | 48 | elsif ($name eq '__TRAITS__') { } | |
35 | 0 | 16 | if ref $target |
37 | 0 | 16 | unless eval "\n package $target;\n use parent 'MoobX::Attributes';\n 1;\n " |
100 | 9 | 22 | if ($type eq 'SCALAR') { } |
17 | 5 | elsif ($type eq 'ARRAY') { } | |
5 | 0 | elsif ($type eq 'HASH') { } | |
0 | 0 | elsif (not $type) { } |