lib/HTML/FormFu/Role/GetProcessors.pm

filter: Statementstmt 100% 56 / 56 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 10 / 10 Podpod 0.0% 0 / 7 totaltotal 90.4% 66 / 73 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/HTML/FormFu/Constraint/SingleValue.pm ↑ Summary lib/HTML/FormFu/Literal.pm »
1 419 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 package HTML::FormFu::Role::GetProcessors;
4 # ABSTRACT: processor getter roles
5 419 $HTML::FormFu::Role::GetProcessors::VERSION = '2.09';
6 419 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 419 ▶use HTML::FormFu::Util qw(
Subroutine BEGIN: called CC=1 SCAR=0.0
9 _parse_args
10 _filter_components
11 419 );
12  
13 4 ▶sub get_deflators {
Subroutine get_deflators: called CC=1 SCAR=0.0
Pod undocumented
14 4 my $self = shift;
15 4 my %args = _parse_args(@_);
16  
17 4 my @x = map { @{ $_->get_deflators(@_) } } @{ $self->_elements };
18  
19 4 return _filter_components( \%args, \@x );
20 }
21  
22 813 ▶sub get_filters {
Subroutine get_filters: called CC=1 SCAR=0.0
Pod undocumented
23 813 my $self = shift;
24 813 my %args = _parse_args(@_);
25  
26 813 my @x = map { @{ $_->get_filters(@_) } } @{ $self->_elements };
27  
28 813 return _filter_components( \%args, \@x );
29 }
30  
31 823 ▶sub get_constraints {
Subroutine get_constraints: called CC=1 SCAR=0.0
Pod undocumented
32 823 my $self = shift;
33 823 my %args = _parse_args(@_);
34  
35 823 my @x = map { @{ $_->get_constraints(@_) } } @{ $self->_elements };
36  
37 823 return _filter_components( \%args, \@x );
38 }
39  
40 603 ▶sub get_inflators {
Subroutine get_inflators: called CC=1 SCAR=0.0
Pod undocumented
41 603 my $self = shift;
42 603 my %args = _parse_args(@_);
43  
44 603 my @x = map { @{ $_->get_inflators(@_) } } @{ $self->_elements };
45  
46 603 return _filter_components( \%args, \@x );
47 }
48  
49 595 ▶sub get_validators {
Subroutine get_validators: called CC=1 SCAR=0.0
Pod undocumented
50 595 my $self = shift;
51 595 my %args = _parse_args(@_);
52  
53 595 my @x = map { @{ $_->get_validators(@_) } } @{ $self->_elements };
54  
55 595 return _filter_components( \%args, \@x );
56 }
57  
58 594 ▶sub get_transformers {
Subroutine get_transformers: called CC=1 SCAR=0.0
Pod undocumented
59 594 my $self = shift;
60 594 my %args = _parse_args(@_);
61  
62 594 my @x = map { @{ $_->get_transformers(@_) } } @{ $self->_elements };
63  
64 594 return _filter_components( \%args, \@x );
65 }
66  
67 1614 ▶sub get_plugins {
Subroutine get_plugins: called CC=1 SCAR=0.0
Pod undocumented
68 1614 my $self = shift;
69 1614 my %args = _parse_args(@_);
70  
71 1614 return _filter_components( \%args, $self->_plugins );
72 }
73  
74 419 1;
75  
76 __END__
« lib/HTML/FormFu/Constraint/SingleValue.pm ↑ Summary lib/HTML/FormFu/Literal.pm »