blib/lib/PLS/Server/Request.pm

filter: Statementstmt 75.0% 12 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 66.6% 4 / 6 Podpod 0.0% 0 / 3 totaltotal 64.0% 16 / 25 CC 1 SCAR 2.9
CC
1
Cov
75%
service
2.0
handle_response
2.0
BEGIN
1.0
CRAP 1.3
« blib/lib/PLS/Parser/Element/VariableStatement.pm ↑ Summary blib/lib/PLS/Server/Request/Exit.pm »
1 package PLS::Server::Request;
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::Message';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 =head1 NAME
9  
10 PLS::Server::Request
11  
12 =head1 DESCRIPTION
13  
14 This class represents a request. The request can originate on the server or the client.
15 If the request originates on the server and a response is expected,
16 the C<handle_response> method should be implemented.
17  
18 =cut
19  
20 sub new
21 17 ▶{
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
22 17 my ($class, $request) = @_;
23  
24 17 return bless $request, $class;
25 }
26  
27 sub service
28 0 ▶{
Subroutine service: not called CC=1 SCAR=6.9
Pod undocumented
29 0 my ($self, $server) = @_;
30 0 return;
31 }
32  
33 sub handle_response
34 0 ▶{
Subroutine handle_response: not called CC=1 SCAR=6.9
Pod undocumented
35 0 my ($self, $response, $server) = @_;
36  
37 0 return;
38 }
39  
40 13 1;
« blib/lib/PLS/Parser/Element/VariableStatement.pm ↑ Summary blib/lib/PLS/Server/Request/Exit.pm »