blib/lib/PLS/Server/Request/Shutdown.pm

filter: Statementstmt 100% 19 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod 0.0% 0 / 1 totaltotal 96.1% 25 / 26 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/PLS/Server/Request/TextDocument/Formatting.pm ↑ Summary blib/lib/PLS/Server/Request/TextDocument/DidOpen.pm »
1 package PLS::Server::Request::Shutdown;
2  
3 13 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 13 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 13 ▶use parent 'PLS::Server::Request';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 13 ▶use PLS::Server::State;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 13 ▶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 1 ▶{
Subroutine service: called CC=1 SCAR=0.0
Pod undocumented
24 1 my ($self) = @_;
25  
26 1 $PLS::Server::State::SHUTDOWN = 1;
27 1 return PLS::Server::Response::Shutdown->new($self);
28 } ## end sub service
29  
30 13 1;
« blib/lib/PLS/Server/Request/TextDocument/Formatting.pm ↑ Summary blib/lib/PLS/Server/Request/TextDocument/DidOpen.pm »