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 | 95 | use warnings; | |||
15 | 149 | ||||||
15 | 404 | ||||||
4 | 15 | 15 | 100 | ||||
15 | 26 | ||||||
15 | 336 | ||||||
5 | use Moo; | ||||||
6 | 15 | 15 | 72 | use Types::Standard qw(ArrayRef HashRef Bool); | |||
15 | 28 | ||||||
15 | 76 | ||||||
7 | 15 | 15 | 4386 | use namespace::clean; | |||
15 | 32 | ||||||
15 | 105 | ||||||
8 | 15 | 15 | 10839 | ||||
15 | 32 | ||||||
15 | 95 | ||||||
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; |