FormHandler/Widget/Theme/Bootstrap3.pm

filter: Statementstmt 90.9% 10 / 11 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 2 totaltotal 73.6% 14 / 19 CC 2 SCAR 4.9
CC
2
Cov
85%
__ANON__
2.1
form_messages_alert_error_class
2.0
BEGIN
1.0
CRAP 1.6
« FormHandler/Field/SelectCSV.pm ↑ Summary FormHandler/Widget/Theme/Bootstrap.pm »
1 package HTML::FormHandler::Widget::Theme::Bootstrap3;
2 # ABSTRACT: sample Bootstrap3 theme
3 2 $HTML::FormHandler::Widget::Theme::Bootstrap3::VERSION = '0.410002';
4  
5 2 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 2 with 'HTML::FormHandler::Widget::Theme::BootstrapFormMessages';
7  
8 2 ▶after 'before_build' => sub {
Subroutine __ANON__: called CC=2 SCAR=7.2
9 2 my $self = shift;
10 2 ▶ $self->set_widget_wrapper('Bootstrap3')
Branch: 1 branch
BranchTrueFalseTotal
if $self->widget_wrapper eq "Simple" 2 0 2
11 if $self->widget_wrapper eq 'Simple';
12 2 };
13  
14 2 ▶sub build_form_element_class { ['form-horizontal'] }
Subroutine build_form_element_class: called CC=1 SCAR=0.0
Pod undocumented
15  
16 0 ▶sub form_messages_alert_error_class { 'alert-danger' }
Subroutine form_messages_alert_error_class: not called CC=1 SCAR=6.9
Pod undocumented
17  
18 2 1;
19  
20 __END__
« FormHandler/Field/SelectCSV.pm ↑ Summary FormHandler/Widget/Theme/Bootstrap.pm »