blib/lib/FormValidator/LazyWay/Message/EN.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 8 | 8 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 4 | 4 | 100.0 |
pod | 0 | 2 | 0.0 |
total | 12 | 14 | 85.7 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package FormValidator::LazyWay::Message::EN; | ||||||
2 | |||||||
3 | 4 | 4 | 23 | use strict; | |||
4 | 6 | ||||||
4 | 145 | ||||||
4 | 4 | 4 | 20 | use warnings; | |||
4 | 9 | ||||||
4 | 256 | ||||||
5 | |||||||
6 | sub invalid { | ||||||
7 | 8 | 8 | 0 | 147 | return '__field__ supports __rule__ .'; | ||
8 | } | ||||||
9 | |||||||
10 | sub missing { | ||||||
11 | 8 | 8 | 0 | 140 | return '__field__ is missing.'; | ||
12 | } | ||||||
13 | |||||||
14 | 1; | ||||||
15 |