lib/Lingy/Lang/Atom.pm

filter: Statementstmt 92.8% 13 / 14 Branchbran n/a Conditioncond 0.0% 0 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 80.0% 4 / 5 Podpod 0.0% 0 / 1 totaltotal 73.9% 17 / 23 CC 2 SCAR 9.8
CC
2
Cov
81%
new
6.0
BEGIN
1.0
BEGIN
1.0
CRAP 2.7
« lib/Lingy/Lang/Util.pm ↑ Summary lib/Lingy/Lang/List.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::Atom;
3  
4 1 ▶use Lingy::Common;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use base SCALARTYPE;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 sub new {
8 0 ▶ bless [$_[1] // die], $_[0];
Subroutine new: not called CC=2 SCAR=17.9
Pod undocumented
Condition0%0/2
$_[1] // die()
l!l
00
MC/DC0%0/1
$_[1] // die()
$_[1]
Truth table0%0/2
A
A= $_[1]
Aresult
11
00
9 }
10  
11 1 1;
« lib/Lingy/Lang/Util.pm ↑ Summary lib/Lingy/Lang/List.pm »