lib/HTML/FormFu/OutputProcessor.pm

filter: Statementstmt 85.0% 17 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 0.0% 0 / 1 totaltotal 80.7% 21 / 26 SCAR 0.0
CC
1
Cov
85%
clone
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/HTML/FormFu/Constraint/MinRange.pm ↑ Summary lib/HTML/FormFu/Constraint/SingleValue.pm »
1 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 package HTML::FormFu::OutputProcessor;
4 4 $HTML::FormFu::OutputProcessor::VERSION = '2.06';
5 # ABSTRACT: Post-process HTML output
6  
7 4 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 4 ▶use MooseX::Attribute::Chained;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 4 with 'HTML::FormFu::Role::HasParent', 'HTML::FormFu::Role::Populate';
11  
12 4 ▶use HTML::FormFu::ObjectUtil qw( form parent );
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 4 has type => ( is => 'rw', traits => ['Chained'] );
15  
16 sub clone {
17 0 ▶ my ($self) = @_;
Subroutine clone: not called CC=1 SCAR=6.9
Pod undocumented
18  
19 0 my %new = %$self;
20  
21 0 return bless \%new, ref $self;
22 }
23  
24 4 __PACKAGE__->meta->make_immutable;
25  
26 4 1;
27  
28 __END__
29  
30 =pod
31  
32 =encoding UTF-8
33  
34 =head1 NAME
35  
36 HTML::FormFu::OutputProcessor - Post-process HTML output
37  
38 =head1 VERSION
39  
40 version 2.06
41  
42 =head1 DESCRIPTION
43  
44 Post-process a form or element's HTML.
45  
46 =head1 CORE OUTPUT PROCESSORS
47  
48 =over
49  
50 =item L<HTML::FormFu::OutputProcessor::Indent>
51  
52 =item L<HTML::FormFu::OutputProcessor::StripWhitespace>
53  
54 =back
55  
56 =head1 AUTHOR
57  
58 Carl Franks, C<cfranks@cpan.org>
59  
60 =head1 LICENSE
61  
62 This library is free software, you can redistribute it and/or modify it under
63 the same terms as Perl itself.
64  
65 =head1 AUTHOR
66  
67 Carl Franks <cpan@fireartist.com>
68  
69 =head1 COPYRIGHT AND LICENSE
70  
71 This software is copyright (c) 2018 by Carl Franks.
72  
73 This is free software; you can redistribute it and/or modify it under
74 the same terms as the Perl 5 programming language system itself.
75  
76 =cut
« lib/HTML/FormFu/Constraint/MinRange.pm ↑ Summary lib/HTML/FormFu/Constraint/SingleValue.pm »