blib/lib/FormValidator/Lite/Constraint/Email.pm

filter: Statementstmt 100% 20 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod n/a totaltotal 100% 27 / 27 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/FormValidator/Lite/Constraint.pm ↑ Summary blib/lib/FormValidator/Lite/Constraint/Japanese.pm »
1 package FormValidator::Lite::Constraint::Email;
2 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use FormValidator::Lite::Constraint;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use Email::Valid;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use Email::Valid::Loose;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 rule 'EMAIL' => sub {
9 3 ▶ Email::Valid->address($_);
Subroutine __ANON__: called CC=1 SCAR=0.0
10 1 };
11  
12 rule 'EMAIL_LOOSE' => sub {
13 3 ▶ Email::Valid::Loose->address($_);
Subroutine __ANON__: called CC=1 SCAR=0.0
14 1 };
15  
16 1 1;
17 __END__
« blib/lib/FormValidator/Lite/Constraint.pm ↑ Summary blib/lib/FormValidator/Lite/Constraint/Japanese.pm »