| blib/lib/MooX/Role/Parameterized.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 14 | 21 | 66.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 41 | 0 | 1 | 25 | exists $INFO{$role} and exists $INFO{$role}{'code_for'} |
| 1 | 0 | 25 | exists $INFO{$role} and exists $INFO{$role}{'code_for'} and ref $INFO{$role}{'code_for'} eq "CODE" | |
| 91 | 4 | 0 | 43 | $INFO{$role} && $INFO{$role}{'is_role'} |
| 108 | 3 | 0 | 13 | @_ and ref $_[0] |
| 121 | 1 | 0 | 2 | defined $orig and ref $orig eq "CODE" |
| line | l | !l | condition |
|---|---|---|---|
| 72 | 4 | 10 | $INFO{$package} ||= {"is_role", 1} |
| 83 | 0 | 5 | $INFO{$package} ||= {"is_role", 1} |
| 85 | 0 | 5 | $INFO{$package}{'parameters_definition'} ||= [] |