File Coverage

blib/lib/Devel/AssertOS/HWCapabilities/Int64.pm
Criterion Covered Total %
statement 16 17 94.1
branch n/a
condition n/a
subroutine 6 7 85.7
pod 0 2 0.0
total 22 26 84.6


line stmt bran cond sub pod time code
1             package Devel::AssertOS::HWCapabilities::Int64;
2              
3 4     4   416 use strict;
  4         18  
  4         150  
4 4     4   28 use warnings;
  4         8  
  4         160  
5 4     4   23 no warnings 'redefine';
  4         11  
  4         135  
6              
7 4     4   442 use Devel::CheckOS;
  4         10  
  4         169  
8 4     4   23 use Config;
  4         8  
  4         606  
9              
10             our $VERSION = '1.0';
11              
12 8     8 0 370 sub os_is { $Config{ivsize} == 8 }
13              
14 0     0 0   sub expn { "Your perl was built with support 64 bit integers" }
15              
16             Devel::CheckOS::die_unsupported() unless(os_is());
17              
18             =head1 COPYRIGHT and LICENCE
19              
20             Copyright 2023 David Cantrell
21              
22             This software is free-as-in-speech software, and may be used, distributed, and modified under the terms of either the GNU General Public Licence version 2 or the Artistic Licence. It's up to you which one you use. The full text of the licences can be found in the files GPL2.txt and ARTISTIC.txt, respectively.
23              
24             =cut
25              
26             1;