PLS/Server/Request/Shutdown.pm

filter: Statementstmt 84.2% 16 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod 0.0% 0 / 1 totaltotal 80.7% 21 / 26 CC 1 SCAR 1.5
CC
1
Cov
84%
service
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« PLS/Server/Request/TextDocument/DidSave.pm ↑ Summary PLS/Server/Response/InitializeResult.pm »
1 package PLS::Server::Request::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::Request';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 9 ▶use PLS::Server::State;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 9 ▶use PLS::Server::Response::Shutdown;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 =head1 NAME
12  
13 PLS::Server::Request::Shutdown
14  
15 =head1 DESCRIPTION
16  
17 This is a notification message from the client to the server requesting
18 that the server shuts down.
19  
20 =cut
21  
22 sub service
23 {
24 0 ▶ my ($self) = @_;
Subroutine service: not called CC=1 SCAR=6.9
Pod undocumented
25  
26 0 $PLS::Server::State::SHUTDOWN = 1;
27 0 return PLS::Server::Response::Shutdown->new($self);
28 } ## end sub service
29  
30 9 1;
« PLS/Server/Request/TextDocument/DidSave.pm ↑ Summary PLS/Server/Response/InitializeResult.pm »