blib/lib/perl5i/2/Meta/Class.pm

filter: Statementstmt 94.4% 17 / 18 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 80.0% 4 / 5 Podpod 0.0% 0 / 2 totaltotal 85.1% 23 / 27 SCAR 6.9
CC
2
Cov
95%
class
2.0
reftype
2.0
BEGIN
1.0
CRAP 2.0
« lib/perl5i/cmd.pm ↑ Summary blib/lib/perl5i/2/Signature/None.pm »
1 package perl5i::2::Meta::Class;
2  
3 # Methods here are for $thing->mc->method.
4  
5 109 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 109 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 109 ▶use parent qw(perl5i::2::Meta);
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 sub class {
11 30 ▶ return ref ${${$_[0]}} ? ref ${${$_[0]}} : ${${$_[0]}};
Subroutine class: called CC=2 SCAR=6.9
Pod undocumented
Branch: 1 branch
BranchTrueFalseTotal
ref ${${$_[0];};} ? : 16 14 30
12 }
13  
14 sub reftype {
15 0 ▶ return;
Subroutine reftype: not called CC=1 SCAR=6.9
Pod undocumented
16 }
17  
18 109 1;
« lib/perl5i/cmd.pm ↑ Summary blib/lib/perl5i/2/Signature/None.pm »