SyForm/FormBootstrap.pm

filter: Statementstmt 85.0% 17 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod n/a totaltotal 84.0% 21 / 25 CC 1 SCAR 1.8
CC
1
Cov
85%
_build_layout
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« SyForm/Field.pm ↑ Summary SyForm/Role/Verify.pm »
1 package SyForm::FormBootstrap;
2 6 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
3 6 $SyForm::FormBootstrap::AUTHORITY = 'cpan:GETTY';
4 }
5 # ABSTRACT: Bootstrap Form
6 6 $SyForm::FormBootstrap::VERSION = '0.103';
7 6 ▶use Moo;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 6 ▶use HTML::Declare ':all';
Subroutine BEGIN: called CC=1 SCAR=0.0
9 6 ▶use Safe::Isa;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 6 with qw(
12 MooX::Traits
13 );
14  
15 6 our @attributes = qw();
16  
17 6 for my $attribute (@attributes) {
18 0 has $attribute => (
19 is => 'ro',
20 predicate => 1,
21 );
22 }
23  
24 6 has syform_formhtml => (
25 is => 'ro',
26 required => 1,
27 );
28  
29 6 has layout => (
30 is => 'lazy',
31 );
32  
33 0 ▶sub _build_layout {
Subroutine _build_layout: not called CC=1 SCAR=6.9
34 0 my ( $self ) = @_;
35 0 return 'basic';
36 }
37  
38 6 1;
39  
40 __END__
« SyForm/Field.pm ↑ Summary SyForm/Role/Verify.pm »