blib/lib/HTML/DBForm/Search.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
statement | 6 | 7 | 85.7 |
branch | n/a | ||
condition | n/a | ||
subroutine | 2 | 3 | 66.6 |
pod | 0 | 1 | 0.0 |
total | 8 | 11 | 72.7 |
line | stmt | bran | cond | sub | pod | time | code |
---|---|---|---|---|---|---|---|
1 | package HTML::DBForm::Search; | ||||||
2 | |||||||
3 | 1 | 1 | 6728 | use strict; | |||
1 | 3 | ||||||
1 | 45 | ||||||
4 | 1 | 1 | 5 | use base qw(Class::Factory); | |||
1 | 2 | ||||||
1 | 46650 | ||||||
5 | |||||||
6 | our $VERSION = '1.05'; | ||||||
7 | |||||||
8 | 0 | 0 | 0 | sub run { die "define run() in implementation" }; | |||
9 | |||||||
10 | __PACKAGE__->add_factory_type( dropdown => 'HTML::DBForm::Search::DropDown'); | ||||||
11 | __PACKAGE__->add_factory_type( tablelist => 'HTML::DBForm::Search::TableList'); | ||||||
12 | |||||||
13 | |||||||
14 | |||||||
15 | |||||||
16 | 1; |