blib/lib/Bracket/Form/Login.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 | |||||||
2 | use HTML::FormHandler::Moose; | ||||||
3 | 4 | 4 | 28 | extends 'HTML::FormHandler'; | |||
4 | 8 | ||||||
4 | 41 | ||||||
4 | with 'HTML::FormHandler::Render::Table'; | ||||||
5 | |||||||
6 | has_field 'email' => ( type => 'Email', ); | ||||||
7 | has_field 'password' => ( type => 'Password' ); | ||||||
8 | has_field 'submit' => ( type => 'Submit', value => 'Login' ); | ||||||
9 | |||||||
10 | no HTML::FormHandler::Moose; | ||||||
11 | 4 | 4 | 41258 | __PACKAGE__->meta->make_immutable; | |||
4 | 11 | ||||||
4 | 18 | ||||||
12 | 1 |