lib/Lingy/Macro.pm

filter: Statementstmt 100% 17 / 17 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 0.0% 0 / 1 totaltotal 92.3% 24 / 26 CC 2 SCAR 2.6
CC
2
Cov
95%
new
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« lib/Lingy/Vector.pm ↑ Summary lib/Lingy/List.pm »
1 57 ▶use strict; use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
2 package Lingy::Macro;
3  
4 57 ▶use base 'Lingy::Class';
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 57 ▶use Lingy::Common;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 sub new {
9 1168 ▶ my ($class, $function) = @_;
Subroutine new: called CC=2 SCAR=7.0
Pod undocumented
10 1168 ▶ XXX $function unless ref($function) eq FUNCTION;
Branch: 1 branch
BranchTrueFalseTotal
unless ref $function eq "Lingy::Fn" 0 1168 1168
11 1168 ▶ bless sub { goto &$function }, $class;
Subroutine __ANON__: called CC=1 SCAR=0.0
12 }
13  
14 57 1;
« lib/Lingy/Vector.pm ↑ Summary lib/Lingy/List.pm »