blib/lib/Email/Sender/Role/HasMessage.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 6 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 2 | 100.0 |
pod | n/a | ||
total | 8 | 8 | 100.0 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package Email::Sender::Role::HasMessage 1.500; | ||||||
2 | # ABSTRACT: an object that has a message | ||||||
3 | |||||||
4 | 2 | 2 | 13 | use Moo::Role; | |||
2 | 10 | ||||||
2 | 16 | ||||||
5 | |||||||
6 | #pod =attr message | ||||||
7 | #pod | ||||||
8 | #pod This attribute is a message associated with the object. | ||||||
9 | #pod | ||||||
10 | #pod =cut | ||||||
11 | |||||||
12 | has message => ( | ||||||
13 | is => 'ro', | ||||||
14 | required => 1, | ||||||
15 | ); | ||||||
16 | |||||||
17 | 2 | 2 | 630 | no Moo::Role; | |||
2 | 3 | ||||||
2 | 15 | ||||||
18 | 1; | ||||||
19 | |||||||
20 | __END__ |