Perl/Endian.pm

filter: Statementstmt 100% 10 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Perl/Constants/Fcntl.pm ↑ Summary Perl/X.pm »
1 package Linux::Perl::Endian;
2  
3 11 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 11 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 11 ▶use constant SYSTEM_IS_BIG_ENDIAN => pack("S", 1) eq pack("n", 1);
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 11 1;
« Perl/Constants/Fcntl.pm ↑ Summary Perl/X.pm »