blib/lib/MooseX/Traits/Util.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 14 | 16 | 87.5 |
line | true | false | branch |
---|---|---|---|
24 | 0 | 72 | unless $class->does('MooseX::Traits') |
30 | 2 | 24 | if $name =~ /^[+](.+)$/ |
36 | 6 | 18 | if ($namespace->has_default) |
38 | 0 | 6 | if (ref $base eq 'CODE') |
43 | 18 | 6 | unless $base |
54 | 26 | 4 | if (not ref $orig) { } |
74 | 18 | 5 | if (@traits) |
84 | 18 | 5 | $meta ? : |