blib/lib/Devel/AssertOS/HWCapabilities/Int64.pm

filter: Statementstmt 95.0% 19 / 20 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod 0.0% 0 / 2 totaltotal 83.8% 26 / 31 CC 1 SCAR 1.3
CC
1
Cov
91%
expn
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.1
« blib/lib/Devel/AssertOS/OSFeatures/Systemd.pm ↑ Summary blib/lib/Devel/AssertOS/HWCapabilities/Int32.pm »
1 package Devel::AssertOS::HWCapabilities::Int64;
2  
3 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 4 ▶no warnings 'redefine';
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 4 ▶use Devel::CheckOS;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 4 ▶use Config;
Subroutine BEGIN: called CC=1 SCAR=0.0
9  
10 4 our $VERSION = '1.0';
11  
12 8 ▶sub os_is { $Config{ivsize} == 8 }
Subroutine os_is: called CC=1 SCAR=0.0
Pod undocumented
13  
14 0 ▶sub expn { "Your perl was built with support for 64 bit integers" }
Subroutine expn: not called CC=1 SCAR=6.9
Pod undocumented
15  
16 4 ▶Devel::CheckOS::die_unsupported() unless(os_is());
Branch: 1 branch
BranchTrueFalseTotal
unless os_is() 0 4 4
17  
18 =head1 COPYRIGHT and LICENCE
19  
20 Copyright 2024 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 4 1;
« blib/lib/Devel/AssertOS/OSFeatures/Systemd.pm ↑ Summary blib/lib/Devel/AssertOS/HWCapabilities/Int32.pm »