Simple/Constants.pm

filter: Statementstmt 83.3% 10 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod 0.0% 0 / 4 totaltotal 63.6% 14 / 22 CC 1 SCAR 2.9
CC
1
Cov
83%
SUCCESS
2.0
FAIL
2.0
BEGIN
1.0
CRAP 1.3
« Simple/Exception.pm ↑ Summary Simple/Iterator.pm »
1 package FormValidator::Simple::Constants;
2 14 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 14 ▶use base qw/Exporter/;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 14 our @EXPORT = qw/SUCCESS FAIL TRUE FALSE/;
5  
6 0 ▶sub SUCCESS { 1 }
Subroutine SUCCESS: not called CC=1 SCAR=6.9
Pod undocumented
7 0 ▶sub FAIL { !SUCCESS }
Subroutine FAIL: not called CC=1 SCAR=6.9
Pod undocumented
8 105 ▶sub TRUE { 1 }
Subroutine TRUE: called CC=1 SCAR=0.0
Pod undocumented
9 67 ▶sub FALSE { !TRUE }
Subroutine FALSE: called CC=1 SCAR=0.0
Pod undocumented
10  
11 14 1;
12 __END__
« Simple/Exception.pm ↑ Summary Simple/Iterator.pm »