TestML1/Util.pm

filter: Statementstmt 90.4% 19 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 81.8% 9 / 11 Podpod 0.0% 0 / 7 totaltotal 71.7% 28 / 39 CC 1 SCAR 1.7
CC
1
Cov
90%
none
2.0
native
2.0
BEGIN
1.0
CRAP 1.2
« TestML1/Library/Standard.pm ↑ Summary TestML1/Bridge.pm »
1 25 ▶use strict; use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 25 ▶use TestML1::Runtime;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 package TestML1::Util;
6  
7 25 ▶use Exporter 'import';
Subroutine BEGIN: called CC=1 SCAR=0.0
8 25 our @EXPORT = qw( runtime list str num bool none native );
9  
10 18 ▶sub runtime { $TestML1::Runtime::Singleton }
Subroutine runtime: called CC=1 SCAR=0.0
Pod undocumented
11  
12 42 ▶sub list { TestML1::List->new(value => $_[0]) }
Subroutine list: called CC=1 SCAR=0.0
Pod undocumented
13 167 ▶sub str { TestML1::Str->new(value => $_[0]) }
Subroutine str: called CC=1 SCAR=0.0
Pod undocumented
14 8 ▶sub num { TestML1::Num->new(value => $_[0]) }
Subroutine num: called CC=1 SCAR=0.0
Pod undocumented
15 10 ▶sub bool { TestML1::Bool->new(value => $_[0]) }
Subroutine bool: called CC=1 SCAR=0.0
Pod undocumented
16 0 ▶sub none { TestML1::None->new(value => $_[0]) }
Subroutine none: not called CC=1 SCAR=6.9
Pod undocumented
17 0 ▶sub native { TestML1::Native->new(value => $_[0]) }
Subroutine native: not called CC=1 SCAR=6.9
Pod undocumented
18  
19 25 1;
« TestML1/Library/Standard.pm ↑ Summary TestML1/Bridge.pm »