| blib/lib/Git/Validate/HasLine.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 3 | 3 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 1 | 1 | 100.0 |
| pod | n/a | ||
| total | 4 | 4 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | package Git::Validate::HasLine; | ||||||
| 2 | { | ||||||
| 3 | $Git::Validate::HasLine::VERSION = '0.001000'; | ||||||
| 4 | } | ||||||
| 5 | |||||||
| 6 | 1 | 1 | 12963 | use Moo::Role; | |||
| 1 | 2 | ||||||
| 1 | 7 | ||||||
| 7 | |||||||
| 8 | has line => ( | ||||||
| 9 | is => 'ro', | ||||||
| 10 | required => 1, | ||||||
| 11 | ); | ||||||
| 12 | |||||||
| 13 | has line_number => ( | ||||||
| 14 | is => 'ro', | ||||||
| 15 | required => 1, | ||||||
| 16 | ); | ||||||
| 17 | |||||||
| 18 | 1; |