FormValidator/Role/Extension.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 5 / 5 Podpod n/a totaltotal 100% 24 / 24 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« FormValidator/Result.pm ↑ Summary FormValidator/Role/HasMessages.pm »
1 package Dancer2::Plugin::FormValidator::Role::Extension;
2  
3 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 ▶use Moo::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 3 ▶use Types::Standard qw(InstanceOf HashRef);
Subroutine BEGIN: called CC=1 SCAR=0.0
8 3 ▶use namespace::clean;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 3 has plugin => (
11 is => 'ro',
12 isa => InstanceOf['Dancer2::Plugin::FormValidator'],
13 predicate => 1,
14 );
15  
16 3 has config => (
17 is => 'ro',
18 isa => HashRef,
19 predicate => 1,
20 );
21  
22 3 requires 'validators';
23  
24 3 1;
« FormValidator/Result.pm ↑ Summary FormValidator/Role/HasMessages.pm »