blib/lib/FormValidator/LazyWay/Filter.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 15 | 15 | 100.0 |
branch | n/a | ||
condition | n/a | ||
subroutine | 5 | 5 | 100.0 |
pod | 0 | 1 | 0.0 |
total | 20 | 21 | 95.2 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package FormValidator::LazyWay::Filter; | ||||||
2 | |||||||
3 | 27 | 27 | 18112 | use strict; | |||
27 | 48 | ||||||
27 | 972 | ||||||
4 | 27 | 27 | 138 | use warnings; | |||
27 | 1280 | ||||||
27 | 638 | ||||||
5 | 27 | 27 | 128 | use Carp; | |||
27 | 42 | ||||||
27 | 1882 | ||||||
6 | |||||||
7 | 27 | 27 | 141 | use base qw/FormValidator::LazyWay::Setting/; | |||
27 | 60 | ||||||
27 | 2342 | ||||||
8 | __PACKAGE__->mk_accessors(qw/self name/); | ||||||
9 | |||||||
10 | sub init { | ||||||
11 | 42 | 42 | 0 | 89 | my $self = shift; | ||
12 | 42 | 189 | $self->self(__PACKAGE__); | ||||
13 | 42 | 531 | $self->name('filter'); | ||||
14 | } | ||||||
15 | |||||||
16 | 1; |