| blib/lib/Dancer2/Plugin/FormValidator/Result.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| statement | 15 | 15 | 100.0 |
| branch | n/a | ||
| condition | n/a | ||
| subroutine | 5 | 5 | 100.0 |
| pod | n/a | ||
| total | 20 | 20 | 100.0 |
| line | stmt | bran | cond | sub | pod | time | code |
|---|---|---|---|---|---|---|---|
| 1 | |||||||
| 2 | use strict; | ||||||
| 3 | 15 | 15 | 93 | use warnings; | |||
| 15 | 187 | ||||||
| 15 | 414 | ||||||
| 4 | 15 | 15 | 72 | ||||
| 15 | 29 | ||||||
| 15 | 335 | ||||||
| 5 | use Moo; | ||||||
| 6 | 15 | 15 | 66 | use Types::Standard qw(ArrayRef HashRef Bool); | |||
| 15 | 30 | ||||||
| 15 | 73 | ||||||
| 7 | 15 | 15 | 4549 | use namespace::clean; | |||
| 15 | 32 | ||||||
| 15 | 106 | ||||||
| 8 | 15 | 15 | 10761 | ||||
| 15 | 36 | ||||||
| 15 | 99 | ||||||
| 9 | has success => ( | ||||||
| 10 | is => 'ro', | ||||||
| 11 | isa => Bool, | ||||||
| 12 | required => 1, | ||||||
| 13 | ); | ||||||
| 14 | |||||||
| 15 | has invalid => ( | ||||||
| 16 | is => 'ro', | ||||||
| 17 | isa => ArrayRef, | ||||||
| 18 | required => 1, | ||||||
| 19 | ); | ||||||
| 20 | |||||||
| 21 | has valid => ( | ||||||
| 22 | is => 'ro', | ||||||
| 23 | isa => HashRef, | ||||||
| 24 | required => 1, | ||||||
| 25 | ); | ||||||
| 26 | |||||||
| 27 | has messages => ( | ||||||
| 28 | is => 'ro', | ||||||
| 29 | isa => HashRef, | ||||||
| 30 | required => 1, | ||||||
| 31 | ); | ||||||
| 32 | |||||||
| 33 | 1; |