lib/Lingy/Lang/ListClass.pm

filter: Statementstmt 76.4% 13 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod 0.0% 0 / 2 totaltotal 68.0% 17 / 25 CC 1 SCAR 2.9
CC
1
Cov
76%
new
2.0
clone
2.0
BEGIN
1.0
CRAP 1.3
« lib/Lingy/Lang/Vector.pm ↑ Summary lib/Lingy/Lang/Term.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::ListClass;
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, $list) = @_;
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
9 0 bless $list, $class;
10 }
11  
12 0 ▶sub clone { ref($_[0])->new([@{$_[0]}]) }
Subroutine clone: not called CC=1 SCAR=6.9
Pod undocumented
13  
14 1 1;
« lib/Lingy/Lang/Vector.pm ↑ Summary lib/Lingy/Lang/Term.pm »