blib/lib/PLS/Server/Request/TextDocument/DidSave.pm

filter: Statementstmt 80.0% 16 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod 0.0% 0 / 1 totaltotal 77.7% 21 / 27 CC 1 SCAR 1.5
CC
1
Cov
80%
service
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« blib/lib/PLS/Server/Request/TextDocument/DidClose.pm ↑ Summary blib/lib/PLS/Server/Response/InitializeResult.pm »
1 package PLS::Server::Request::TextDocument::DidSave;
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::Parser::Document;
Subroutine BEGIN: called CC=1 SCAR=0.0
9 13 ▶use PLS::Server::Request::TextDocument::PublishDiagnostics;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 =head1 NAME
12  
13 PLS::Server::Request::TextDocument::DidSave
14  
15 =head1 DESCRIPTION
16  
17 This is a notification from the client to the server that
18 a text document was saved.
19  
20 =cut
21  
22 sub service
23 0 ▶{
Subroutine service: not called CC=1 SCAR=6.9
Pod undocumented
24 0 my ($self, $server) = @_;
25  
26 0 my $uri = $self->{params}{textDocument}{uri};
27 0 $server->send_server_request(PLS::Server::Request::TextDocument::PublishDiagnostics->new(uri => $uri));
28  
29 0 return;
30 } ## end sub service
31  
32 13 1;
« blib/lib/PLS/Server/Request/TextDocument/DidClose.pm ↑ Summary blib/lib/PLS/Server/Response/InitializeResult.pm »