lib/UR/Role.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 4 | 8 | 50.0 |
line | true | false | branch |
---|---|---|---|
38 | 42 | 2105 | if (defined $func and $func eq 'role' and @params > 1 and $role_name ne 'UR::Role') { } |
40 | 42 | 0 | if (@params == 2 and ref $params[1] eq 'HASH') { } |
0 | 0 | elsif (@params == 2 and ref $params[1] eq 'ARRAY') { } | |
50 | 0 | 41 | unless ($role) |