lib/Reaction/InterfaceModel/Action/DBIC/User/Role/SetPassword.pm

filter: Statementstmt 58.3% 7 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 2 / 3 Podpod 0.0% 0 / 1 totaltotal 56.2% 9 / 16 CC 1 SCAR 2.9
CC
1
Cov
58%
do_apply
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« lib/Reaction/UI/Widget/Field/Mutable/Boolean.pm ↑ Summary lib/Reaction/UI/Controller/Collection/CRUD/Search.pm »
1 package Reaction::InterfaceModel::Action::DBIC::User::Role::SetPassword;
2  
3 1 ▶use Reaction::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 ▶use namespace::clean -except => [ qw(meta) ];
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7  
8 #requires qw/target_model/;
9 0 ▶sub do_apply {
Subroutine do_apply: not called CC=1 SCAR=6.9
Pod undocumented
10 0 my $self = shift;
11 0 my $user = $self->target_model;
12 0 $user->password($self->new_password);
13 0 $user->update;
14 0 return $user;
15 };
16  
17  
18  
19 1 1;
20  
21 =head1 NAME
22  
23 Reaction::InterfaceModel::Action::DBIC::User::Role::SetPassword
24  
25 =head1 DESCRIPTION
26  
27 =head2 meta
28  
29 =head1 AUTHORS
30  
31 See L<Reaction::Class> for authors.
32  
33 =head1 LICENSE
34  
35 See L<Reaction::Class> for the license.
36  
37 =cut
« lib/Reaction/UI/Widget/Field/Mutable/Boolean.pm ↑ Summary lib/Reaction/UI/Controller/Collection/CRUD/Search.pm »