blib/lib/Form/Outline/Login.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 Form::Outline::Login; | ||||||
2 | 1 | 1 | 626 | use base 'Form::Outline'; | |||
1 | 3 | ||||||
1 | 598 | ||||||
3 | use Form::Field::Text; | ||||||
4 | use Form::Field::Password; | ||||||
5 | __PACKAGE__->add_fields( | ||||||
6 | Form::Field::Text->new({ name => "username" }), | ||||||
7 | Form::Field::Password->new({ name => "password" }), | ||||||
8 | ); | ||||||
9 | 1; |