lib/Reaction/UI/Widget/Field/Mutable/MatchingPasswords.pm

filter: Statementstmt 64.7% 11 / 17 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 2 / 4 Podpod n/a totaltotal 56.5% 13 / 23 CC 2 SCAR 11.6
CC
2
Cov
58%
__ANON__
6.0
__ANON__
2.0
BEGIN
1.0
CRAP 3.2
« lib/Reaction/InterfaceModel/Action/Role/SimpleMethodCall.pm ↑ Summary lib/Reaction/Role.pm »
1 package Reaction::UI::Widget::Field::Mutable::MatchingPasswords;
2  
3 1 ▶use Reaction::UI::WidgetClass;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use namespace::clean -except => [ qw(meta) ];
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 extends 'Reaction::UI::Widget::Field::Mutable::Password';
7  
8 0 ▶implements fragment check_field {
Subroutine __ANON__: not called CC=1 SCAR=6.9
9 0 arg 'field_id' => event_id 'check_value';
10 0 arg 'field_name' => event_id 'check_value';
11 0 render 'field'; #piggyback!
12 1 };
13  
14 0 ▶implements fragment check_label {
Subroutine __ANON__: not called CC=2 SCAR=17.9
15 0 ▶ if (my $label = $_{viewport}->check_label) {
Branch: 1 branch
BranchTrueFalseTotal
if (my $label = $_{"viewport"}->check_label) 0 0 0
16 0 arg label => localized $label;
17 0 render 'label';
18 }
19 1 };
20  
21 1 __PACKAGE__->meta->make_immutable;
22  
23 1 1;
24  
25 __END__;
« lib/Reaction/InterfaceModel/Action/Role/SimpleMethodCall.pm ↑ Summary lib/Reaction/Role.pm »