File Coverage

blib/lib/PLS/Server/Request/TextDocument/RangeFormatting.pm
Criterion Covered Total %
statement 12 14 85.7
branch n/a
condition n/a
subroutine 4 5 80.0
pod 0 1 0.0
total 16 20 80.0


line stmt bran cond sub pod time code
1             package PLS::Server::Request::TextDocument::RangeFormatting;
2              
3 11     11   105 use strict;
  11         52  
  11         516  
4 11     11   665 use warnings;
  11         35  
  11         876  
5              
6 11     11   219 use parent 'PLS::Server::Request';
  11         141  
  11         196  
7              
8 11     11   8965 use PLS::Server::Response::RangeFormatting;
  11         582  
  11         4894  
9              
10             =head1 NAME
11              
12             PLS::Server::Request::TextDocument::RangeFormatting
13              
14             =head1 DESCRIPTION
15              
16             This is a message from the client to the server requesting that
17             the server format a section of the current document.
18              
19             =cut
20              
21             sub service
22             {
23 0     0 0   my ($self) = @_;
24              
25 0           return PLS::Server::Response::RangeFormatting->new($self);
26             }
27              
28             1;