blib/lib/POE/Component/Server/NRPE/Constants.pm

filter: Statementstmt 100% 24 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 30 / 30 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/POE/Component/Server/NRPE.pm ↑ Summary check_mofo.pl »
1 package POE::Component::Server::NRPE::Constants;
2 {
3 22 $POE::Component::Server::NRPE::Constants::VERSION = '0.18';
4 }
5  
6 #ABSTRACT: Defines constants required by POE::Component::Server::NRPE
7  
8 22 require Exporter;
9 22 @ISA = qw(Exporter);
10 22 @EXPORT = qw(NRPE_STATE_OK NRPE_STATE_WARNING NRPE_STATE_CRITICAL NRPE_STATE_UNKNOWN);
11  
12 22 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
13 22 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 22 ▶use constant NRPE_STATE_OK => 0;
Subroutine BEGIN: called CC=1 SCAR=0.0
16 22 ▶use constant NRPE_STATE_WARNING => 1;
Subroutine BEGIN: called CC=1 SCAR=0.0
17 22 ▶use constant NRPE_STATE_CRITICAL => 2;
Subroutine BEGIN: called CC=1 SCAR=0.0
18 22 ▶use constant NRPE_STATE_UNKNOWN => 3;
Subroutine BEGIN: called CC=1 SCAR=0.0
19  
20 22 1;
21  
22 __END__
« blib/lib/POE/Component/Server/NRPE.pm ↑ Summary check_mofo.pl »