lib/Lingy/Lang/Macro.pm

filter: Statementstmt 76.4% 13 / 17 Branchbran 0.0% 0 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod 0.0% 0 / 1 totaltotal 65.3% 17 / 26 CC 2 SCAR 9.4
CC
2
Cov
68%
new
6.0
__ANON__
2.0
BEGIN
1.0
CRAP 2.6
« lib/Lingy/Lang/List.pm ↑ Summary lib/Lingy/Lang/Vector.pm »
1 1 ▶use strict; use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
2 package Lingy::Lang::Macro;
3  
4 1 ▶use Lingy::Common;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use base CLASS;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 sub new {
8 0 ▶ my ($class, $function) = @_;
Subroutine new: not called CC=2 SCAR=17.9
Pod undocumented
9 0 ▶ XXX $function unless ref($function) eq FUNCTION;
Branch: 1 branch
BranchTrueFalseTotal
unless ref $function eq "Lingy::Lang::Fn" 0 0 0
10 0 ▶ bless sub { goto &$function }, $class;
Subroutine __ANON__: not called CC=1 SCAR=6.9
11 }
12  
13 1 1;
« lib/Lingy/Lang/List.pm ↑ Summary lib/Lingy/Lang/Vector.pm »