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 53 ▶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 53 ▶use base 'Lingy::Class';
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 53 ▶use Lingy::Common;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1088 ▶sub new {
Subroutine new: called CC=2 SCAR=7.0
Pod undocumented
9 1088 my ($class, $function) = @_;
10 1088 ▶ XXX $function unless ref($function) eq FUNCTION;
Branch: 1 branch
BranchTrueFalseTotal
unless ref $function eq "Lingy::Fn" 0 1088 1088
11 1088 ▶ bless sub { goto &$function }, $class;
Subroutine __ANON__: called CC=1 SCAR=0.0
12 }
13  
14 53 1;
« lib/Lingy/Vector.pm ↑ Summary lib/Lingy/List.pm »