blib/lib/FormValidator/LazyWay/Rule/Number/JA.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 11 | 14 | 78.5 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 8 | 62.5 |
pod | 0 | 5 | 0.0 |
total | 16 | 27 | 59.2 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package FormValidator::LazyWay::Rule::Number::JA; | ||||||
2 | |||||||
3 | 2 | 2 | 11 | use strict; | |||
2 | 4 | ||||||
2 | 65 | ||||||
4 | 2 | 2 | 9 | use warnings; | |||
2 | 4 | ||||||
2 | 46 | ||||||
5 | 2 | 2 | 10 | use utf8; | |||
2 | 2 | ||||||
2 | 11 | ||||||
6 | |||||||
7 | 5 | 5 | 0 | 18 | sub int {'整数'} | ||
8 | 1 | 1 | 0 | 4 | sub uint {'正数'} | ||
9 | 0 | 0 | 0 | sub float {'小数点付き整数'} | |||
10 | 0 | 0 | 0 | sub ufloat{'小数点付き正数'} | |||
11 | 0 | 0 | 0 | sub range { '$_[min]以上$_[max]以下' } | |||
12 | |||||||
13 | 1; | ||||||
14 | |||||||
15 | =head1 NAME | ||||||
16 | |||||||
17 | FormValidator::LazyWay::Rule::Number::JA - Messages of Number Rule | ||||||
18 | |||||||
19 | =cut |