lib/Lingy/Atom.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond 50.0% 1 / 2 MC/DCmcdc 0.0% 0 / 1 Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 84.2% 16 / 19 CC 2 SCAR 3.8
CC
2
Cov
92%
new
2.1
BEGIN
1.0
BEGIN
1.0
CRAP 1.5
« blib/lib/Lingy/Namespace.pm ↑ Summary lib/Lingy/Vector.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::Atom;
3  
4 53 ▶use base 'Lingy::ScalarClass';
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 9 ▶sub new {
Subroutine new: called CC=2 SCAR=7.6
Pod undocumented
7 9 ▶ bless [$_[1] // die], $_[0];
Condition50%1/2
$_[1] // die()
l!l
90
MC/DC0%0/1
$_[1] // die()
$_[1]
Truth table50%1/2
A
A= $_[1]
Aresult
11
00
8 }
9  
10 53 1;
« blib/lib/Lingy/Namespace.pm ↑ Summary lib/Lingy/Vector.pm »