File Coverage

blib/lib/Devel/Deprecations/Environmental/Plugin/Int32.pm
Criterion Covered Total %
statement 13 14 92.8
branch n/a
condition n/a
subroutine 5 6 83.3
pod 2 2 100.0
total 20 22 90.9


line stmt bran cond sub pod time code
1             package Devel::Deprecations::Environmental::Plugin::Int32;
2              
3 2     2   1149 use strict;
  2         4  
  2         58  
4 2     2   10 use warnings;
  2         7  
  2         51  
5              
6 2     2   13 use base 'Devel::Deprecations::Environmental';
  2         4  
  2         208  
7              
8 2     2   522 use Devel::CheckOS qw(os_is);
  2         12804  
  2         228  
9              
10             our $VERSION = '1.001';
11              
12             =head1 NAME
13              
14             Devel::Deprecations::Environmental::Plugin::Int32
15              
16             =head1 DESCRIPTION
17              
18             A plugin for L to emit warnings when perl has 32-bit integers
19              
20             =head1 SYNOPSIS
21              
22             use Devel::Deprecations::Environmental qw(Int32);
23              
24             =head1 AUTHOR, LICENCE and COPYRIGHT
25              
26             Copyright 2023 David Cantrell EFE
27              
28             This software is free-as-in-speech software, and may be used, distributed, and
29             modified under the terms of either the GNU General Public Licence version 2 or
30             the Artistic Licence. It's up to you which one you use. The full text of the
31             licences can be found in the files GPL2.txt and ARTISTIC.txt, respectively.
32              
33             =head1 CONSPIRACY
34              
35             This module is also free-as-in-mason software.
36              
37             =cut
38              
39 0     0 1 0 sub reason { "32 bit integers" }
40 2     2 1 6 sub is_deprecated { os_is('HWCapabilities::Int32') }
41              
42             1;