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 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/Word.pm ↑ Summary lib/HTML/FormFu/Element/Button.pm »
1 5 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 package HTML::FormFu::Element::Blank;
4 5 $HTML::FormFu::Element::Blank::VERSION = '2.09';
5 # ABSTRACT: blank element
6  
7 5 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 5 extends 'HTML::FormFu::Element';
10  
11 5 with 'HTML::FormFu::Role::Element::Input';
12  
13 5 ▶use HTML::FormFu::Constants qw( $EMPTY_STR );
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 2 ▶after BUILD => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
16 2 my $self = shift;
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 5 };
25  
26 1 ▶sub field_tag {
Subroutine field_tag: called CC=1 SCAR=0.0
27 1 return $EMPTY_STR;
28 }
29  
30 4 ▶override render => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
31 4 return $EMPTY_STR;
32 5 };
33  
34 2 ▶around render_data_non_recursive => sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
35 2 return;
36 5 };
37  
38 5 __PACKAGE__->meta->make_immutable;
39  
40 5 1;
41  
42 __END__
« lib/HTML/FormFu/Constraint/Word.pm ↑ Summary lib/HTML/FormFu/Element/Button.pm »