lib/HTML/FormFu/Element/Blank.pm

filter: Statementstmt 100% 24 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod n/a totaltotal 100% 31 / 31 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/HTML/FormFu/Constraint/Word.pm ↑ Summary lib/HTML/FormFu/Element/Button.pm »
1 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 package HTML::FormFu::Element::Blank;
4 3 $HTML::FormFu::Element::Blank::VERSION = '2.06';
5 # ABSTRACT: blank element
6  
7 3 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 3 extends 'HTML::FormFu::Element';
10  
11 3 with 'HTML::FormFu::Role::Element::Input';
12  
13 3 ▶use HTML::FormFu::Constants qw( $EMPTY_STR );
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 after BUILD => sub {
16 2 ▶ my $self = shift;
Subroutine __ANON__: called CC=1 SCAR=0.0
17  
18 2 $self->label_tag($EMPTY_STR);
19  
20 #$self->field_type( $EMPTY_STR );
21 2 $self->render($EMPTY_STR);
22  
23 2 return;
24 3 };
25  
26 sub field_tag {
27 1 ▶ return $EMPTY_STR;
Subroutine field_tag: called CC=1 SCAR=0.0
28 }
29  
30 override render => sub {
31 4 ▶ return $EMPTY_STR;
Subroutine __ANON__: called CC=1 SCAR=0.0
32 3 };
33  
34 around render_data_non_recursive => sub {
35 2 ▶ return;
Subroutine __ANON__: called CC=1 SCAR=0.0
36 3 };
37  
38 3 __PACKAGE__->meta->make_immutable;
39  
40 3 1;
41  
42 __END__
43  
44 =pod
45  
46 =encoding UTF-8
47  
48 =head1 NAME
49  
50 HTML::FormFu::Element::Blank - blank element
51  
52 =head1 VERSION
53  
54 version 2.06
55  
56 =head1 SEE ALSO
57  
58 Is a sub-class of, and inherits methods from
59 L<HTML::FormFu::Role::Element::Input>,
60 L<HTML::FormFu::Role::Element::Field>,
61 L<HTML::FormFu::Element>
62  
63 L<HTML::FormFu>
64  
65 =head1 AUTHOR
66  
67 Carl Franks, C<cfranks@cpan.org>
68  
69 =head1 LICENSE
70  
71 This library is free software, you can redistribute it and/or modify it under
72 the same terms as Perl itself.
73  
74 =head1 AUTHOR
75  
76 Carl Franks <cpan@fireartist.com>
77  
78 =head1 COPYRIGHT AND LICENSE
79  
80 This software is copyright (c) 2018 by Carl Franks.
81  
82 This is free software; you can redistribute it and/or modify it under
83 the same terms as the Perl 5 programming language system itself.
84  
85 =cut
« lib/HTML/FormFu/Constraint/Word.pm ↑ Summary lib/HTML/FormFu/Element/Button.pm »