| blib/lib/XML/SRS/Role.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 2 | 4 | 50.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 2 | 2 | 100.0 |
| pod | n/a | ||
| total | 4 | 6 | 66.6 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | |||||||
| 2 | package XML::SRS::Role; | ||||||
| 3 | BEGIN { | ||||||
| 4 | 1 | 1 | 1642 | $XML::SRS::Role::VERSION = '0.09'; | |||
| 5 | } # aka "Allowed2LD" | ||||||
| 6 | |||||||
| 7 | 1 | 1 | 403 | use Moose; | |||
| 0 | |||||||
| 0 | |||||||
| 8 | use PRANG::Graph; | ||||||
| 9 | use XML::SRS::Types; | ||||||
| 10 | |||||||
| 11 | has_attr 'RoleName' => | ||||||
| 12 | is => "rw", | ||||||
| 13 | isa => "XML::SRS::RoleName", | ||||||
| 14 | ; | ||||||
| 15 | |||||||
| 16 | with 'XML::SRS::Node'; | ||||||
| 17 | |||||||
| 18 | 1; |