FormHandler/Meta/Role.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
__ANON__
1.0
__ANON__
1.0
CRAP 1.0
« FormHandler/I18N/en_us.pm ↑ Summary FormHandler/Page/Simple.pm »
1 package # hide from Pause
2 HTML::FormHandler::Meta::Role;
3 # ABSTRACT: field_list and apply_list
4  
5 149 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7  
8 has 'field_list' => (
9 traits => ['Array'],
10 is => 'rw',
11 isa => 'ArrayRef',
12 1406 ▶ default => sub { [] },
Subroutine __ANON__: called CC=1 SCAR=0.0
13 149 handles => {
14 add_to_field_list => 'push',
15 clear_field_list => 'clear',
16 has_field_list => 'count',
17 }
18 );
19  
20 has 'apply_list' => (
21 traits => ['Array'],
22 is => 'rw',
23 isa => 'ArrayRef',
24 1406 ▶ default => sub { [] },
Subroutine __ANON__: called CC=1 SCAR=0.0
25 149 handles => {
26 add_to_apply_list => 'push',
27 has_apply_list => 'count',
28 clear_apply_list => 'clear',
29 }
30 );
31  
32 has 'page_list' => (
33 traits => ['Array'],
34 is => 'rw',
35 isa => 'ArrayRef',
36 1406 ▶ default => sub { [] },
Subroutine __ANON__: called CC=1 SCAR=0.0
37 149 handles => {
38 add_to_page_list => 'push',
39 has_page_list => 'count',
40 clear_page_list => 'clear',
41 }
42 );
43  
44 has 'block_list' => (
45 traits => ['Array'],
46 is => 'rw',
47 isa => 'ArrayRef',
48 1406 ▶ default => sub { [] },
Subroutine __ANON__: called CC=1 SCAR=0.0
49 149 handles => {
50 add_to_block_list => 'push',
51 has_block_list => 'count',
52 clear_block_list => 'clear',
53 }
54 );
55  
56 149 has 'found_hfh' => ( is => 'rw', default => '0' );
57  
58 149 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
59 149 1;
60  
61 __END__
« FormHandler/I18N/en_us.pm ↑ Summary FormHandler/Page/Simple.pm »