blib/lib/FormValidator/LazyWay/Message/JA.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 11 | 11 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | 0 | 2 | 0.0 |
total | 16 | 18 | 88.8 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package FormValidator::LazyWay::Message::JA; | ||||||
2 | |||||||
3 | 24 | 24 | 135 | use strict; | |||
24 | 48 | ||||||
24 | 855 | ||||||
4 | 24 | 24 | 139 | use warnings; | |||
24 | 44 | ||||||
24 | 744 | ||||||
5 | 24 | 24 | 128 | use utf8; | |||
24 | 50 | ||||||
24 | 154 | ||||||
6 | |||||||
7 | sub invalid { | ||||||
8 | 41 | 41 | 0 | 919 | return '__field__には、__rule__が使用できます。'; | ||
9 | } | ||||||
10 | |||||||
11 | sub missing { | ||||||
12 | 40 | 40 | 0 | 783 | return '__field__が空欄です。'; | ||
13 | } | ||||||
14 | |||||||
15 | 1; |