| blib/lib/Minions/Role.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 2 | 2 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 1 | 1 | 100.0 |
| pod | 0 | 1 | 0.0 |
| total | 3 | 4 | 75.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Minions::Role; | ||||||
| 2 | |||||||
| 3 | require Minions::Implementation; | ||||||
| 4 | |||||||
| 5 | our @ISA = qw( Minions::Implementation ); | ||||||
| 6 | |||||||
| 7 | sub update_args { | ||||||
| 8 | 12 | 12 | 0 | 30 | my ($class, $arg) = @_; | ||
| 9 | |||||||
| 10 | 12 | 40 | $arg->{role} = 1; | ||||
| 11 | } | ||||||
| 12 | |||||||
| 13 | 1; | ||||||
| 14 | |||||||
| 15 | __END__ |