blib/lib/Acme/NumericMethod.pm

filter: Statementstmt 100% 22 / 22 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod n/a totaltotal 100% 29 / 29 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
↑ Summary
1 package Acme::NumericMethod;
2 3 ▶use v5.8.8;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 our $VERSION='0.05';
5 3 ▶use Lingua::EN::Words2Nums;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 3 ▶sub import {
Subroutine import: called CC=1 SCAR=0.0
8 3 my $package = (caller)[0];
9 3 ▶ no strict 'refs';
Subroutine BEGIN: called CC=1 SCAR=0.0
10 3 ▶ *{"${package}::AUTOLOAD"} = sub {
Subroutine __ANON__: called CC=1 SCAR=0.0
11 3 ▶ no strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
12 3 my $n = $AUTOLOAD;
13 3 $n =~ s/.*:://;
14 3 return words2nums($n);
15 3 };
16 }
17  
18 3 1;
19 __END__
↑ Summary