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 | 75 | use strict; | |||
11 | 23 | ||||||
11 | 332 | ||||||
4 | 11 | 11 | 48 | use warnings; | |||
11 | 19 | ||||||
11 | 559 | ||||||
5 | |||||||
6 | 11 | 11 | 112 | use constant SYSTEM_IS_BIG_ENDIAN => pack("S", 1) eq pack("n", 1); | |||
11 | 18 | ||||||
11 | 784 | ||||||
7 | |||||||
8 | 1; |