File Coverage

blib/lib/Linux/Perl/Endian.pm
Criterion Covered Total %
statement 9 9 100.0
branch n/a
condition n/a
subroutine 3 3 100.0
pod n/a
total 12 12 100.0


line stmt bran cond sub pod time code
1             package Linux::Perl::Endian;
2              
3 11     11   60 use strict;
  11         24  
  11         263  
4 11     11   44 use warnings;
  11         15  
  11         424  
5              
6 11     11   52 use constant SYSTEM_IS_BIG_ENDIAN => pack("S", 1) eq pack("n", 1);
  11         14  
  11         642  
7              
8             1;