FormValidator/Role/Profile.pm

filter: Statementstmt 100% 13 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 94.4% 17 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« FormValidator/Validator/Required.pm ↑ Summary FormValidator/Factory/Extensions.pm »
1 package Dancer2::Plugin::FormValidator::Role::Profile;
2  
3 16 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 16 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 16 ▶use Moo::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 16 requires 'profile';
9  
10 sub hook_before {
11 17 ▶ my ($self, $profile, $input) = @_;
Subroutine hook_before: called CC=1 SCAR=0.0
Pod undocumented
12  
13 17 return $profile;
14 }
15  
16 16 1;
« FormValidator/Validator/Required.pm ↑ Summary FormValidator/Factory/Extensions.pm »