blib/lib/Devel/AssertOS/Linux/Debian.pm

filter: Statementstmt 100% 19 / 19 Branchbran 50.0% 1 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 0.0% 0 / 3 totaltotal 87.1% 27 / 31 CC 1 SCAR 0.0
CC
1
Cov
95%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Devel/AssertOS/Unix.pm ↑ Summary bin/use-devel-assertos »
1 package Devel::AssertOS::Linux::Debian;
2  
3 3 ▶use Devel::CheckOS;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 3 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 3 ▶no warnings 'redefine';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 3 our $VERSION = '1.2';
9  
10 11 ▶sub matches { map { "Linux::$_" } qw(Raspbian Ubuntu RealDebian UnknownDebianLike Devuan Elementary) }
Subroutine matches: called CC=1 SCAR=0.0
Pod undocumented
11  
12 4 ▶sub os_is { Devel::CheckOS::os_is(matches()) }
Subroutine os_is: called CC=1 SCAR=0.0
Pod undocumented
13  
14 1 ▶sub expn { "The distribution is some derivative of Debian Linux (see Linux::RealDebian for *actual* Debian Linux)" }
Subroutine expn: called CC=1 SCAR=0.0
Pod undocumented
15  
16 3 ▶Devel::CheckOS::die_unsupported() unless(os_is());
Branch: 1 branch
BranchTrueFalseTotal
unless os_is() 0 3 3
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 3 1;
27  
« blib/lib/Devel/AssertOS/Unix.pm ↑ Summary bin/use-devel-assertos »