blib/lib/Devel/AssertOS/Apple.pm

filter: Statementstmt 100% 15 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod n/a totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Devel/AssertOS/Alias/MacOS.pm ↑ Summary blib/lib/Devel/AssertOS/DEC.pm »
1 package Devel::AssertOS::Apple;
2  
3 2 ▶use Devel::CheckOS;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 2 ▶no warnings 'redefine';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 our $VERSION = '1.3';
9  
10 3 ▶sub matches { return qw(iOS MacOSX MacOSclassic); }
Subroutine matches: called CC=1 SCAR=0.0
11 2 ▶sub os_is { Devel::CheckOS::os_is(matches()); }
Subroutine os_is: called CC=1 SCAR=0.0
12 Devel::CheckOS::die_unsupported() unless(os_is());
13  
14 1 ▶sub expn { "The operating system is from Apple" }
Subroutine expn: called CC=1 SCAR=0.0
15  
16 =head1 COPYRIGHT and LICENCE
17  
18 Copyright 2024 David Cantrell
19  
20 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.
21  
22 =cut
23  
24 1;
« blib/lib/Devel/AssertOS/Alias/MacOS.pm ↑ Summary blib/lib/Devel/AssertOS/DEC.pm »