blib/lib/Devel/AssertOS/Realtime.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/QNX.pm ↑ Summary blib/lib/Devel/AssertOS/Sun.pm »
1 package Devel::AssertOS::Realtime;
2  
3 1 ▶use Devel::CheckOS;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶no warnings 'redefine';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 our $VERSION = '1.2';
9  
10 2 ▶sub matches { return qw(QNX); }
Subroutine matches: called CC=1 SCAR=0.0
11 1 ▶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 { "This is a realtime operating system" }
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/QNX.pm ↑ Summary blib/lib/Devel/AssertOS/Sun.pm »