PLS/Server/Response/Shutdown.pm

filter: Statementstmt 83.3% 10 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 75.0% 3 / 4 Podpod 0.0% 0 / 1 totaltotal 76.4% 13 / 17 CC 1 SCAR 2.2
CC
1
Cov
83%
new
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« PLS/Server/Response/InvalidRequest.pm ↑ Summary PLS/Parser/Element/Variable.pm »
1 package PLS::Server::Response::Shutdown;
2  
3 9 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 9 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 9 ▶use parent 'PLS::Server::Response';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 =head1 NAME
9  
10 PLS::Server::Response::Shutdown
11  
12 =head1 DESCRIPTION
13  
14 This is a message from the server to the client indicating that
15 the shutdown request has been received.
16  
17 =cut
18  
19 sub new
20 {
21 0 ▶ my ($class, $request) = @_;
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
22  
23 0 return bless {id => $request->{id}, result => undef}, $class;
24 }
25  
26 9 1;
« PLS/Server/Response/InvalidRequest.pm ↑ Summary PLS/Parser/Element/Variable.pm »