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   385 use strict;
  4         16  
  4         150  
4 4     4   64 use warnings;
  4         12  
  4         148  
5 4     4   20 no warnings 'redefine';
  4         9  
  4         144  
6              
7 4     4   403 use Devel::CheckOS;
  4         10  
  4         164  
8 4     4   20 use Config;
  4         9  
  4         510  
9              
10             our $VERSION = '1.0';
11              
12 8     8 0 295 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 2007 - 2022 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;