Perl/Pointer.pm

filter: Statementstmt 100% 11 / 11 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod 0.0% 0 / 1 totaltotal 88.8% 16 / 18 CC 2 SCAR 3.5
CC
2
Cov
92%
BEGIN
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.4
« Perl/Base.pm ↑ Summary Perl/sigprocmask.pm »
1 package Linux::Perl::Pointer;
2  
3 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 3 ▶use constant UNPACK_TMPL => (4 == length pack 'P') ? 'L' : 'Q';
Subroutine BEGIN: called CC=2 SCAR=7.1
Branch: 1 branch
BranchTrueFalseTotal
4 == length pack('P') ? : 0 3 3
7  
8 13 ▶sub get_address {
Subroutine get_address: called CC=1 SCAR=0.0
Pod undocumented
9 13 return unpack( UNPACK_TMPL(), pack( 'P', $_[0] ) );
10 }
11  
12 3 1;
« Perl/Base.pm ↑ Summary Perl/sigprocmask.pm »