Rx/TypeBundle.pm

filter: Statementstmt 88.8% 8 / 9 Branchbran 50.0% 1 / 2 Conditioncond 33.3% 1 / 3 MC/DCmcdc 0.0% 0 / 2 Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 2 totaltotal 59.0% 13 / 22 CC 3 SCAR 9.2
CC
3
Cov
71%
prefix_pairs
3.7
without_prefix
2.0
BEGIN
1.0
CRAP 2.5
« Rx/CoreType/map.pm ↑ Summary Rx/CoreType/def.pm »
1 1 ▶use v5.12.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
2 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 package Data::Rx::TypeBundle 0.200008;
4 # ABSTRACT: base class for type bundles
5  
6 70 ▶sub prefix_pairs {
Subroutine prefix_pairs: called CC=3 SCAR=13.1
Pod undocumented
7 70 ▶ return if ref $_[0] and $_[0]->{no_prefix};
Branch: 1 branch
BranchTrueFalseTotal
if ref $_[0] and $_[0]{"no_prefix"} 0 70 70
Condition33%1/3
ref $_[0] and $_[0]{"no_prefix"}
!ll&&!rl&&r
7000
MC/DC0%0/2
ref $_[0] and $_[0]{"no_prefix"}
ref $_[0] $_[0]{"no_prefix"}
Truth table33%1/3
A and B
A= ref $_[0]B= $_[0]{"no_prefix"}
ABresult
0X0
100
111
8 70 $_[0]->_prefix_pairs;
9 }
10  
11 0 ▶sub without_prefix {
Subroutine without_prefix: not called CC=1 SCAR=6.9
Pod undocumented
12 0 bless { no_prefix => 1 } => $_[0];
13 }
14  
15 1 1;
16  
17 __END__
« Rx/CoreType/map.pm ↑ Summary Rx/CoreType/def.pm »