PLS/Server/Request.pm

filter: Statementstmt 62.5% 10 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 50.0% 3 / 6 Podpod 0.0% 0 / 3 totaltotal 52.0% 13 / 25 CC 1 SCAR 4.1
CC
1
Cov
62%
new
2.0
service
2.0
handle_response
2.0
CRAP 1.5
« PLS/Server/Response/ServerNotInitialized.pm ↑ Summary PLS/Parser/Element/Package.pm »
1 package PLS::Server::Request;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶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 {
22 0 ▶ my ($class, $request) = @_;
Subroutine new: not called CC=1 SCAR=6.9
Pod undocumented
23  
24 0 return bless $request, $class;
25 }
26  
27 sub service
28 {
29 0 ▶ my ($self, $server) = @_;
Subroutine service: not called CC=1 SCAR=6.9
Pod undocumented
30 0 return;
31 }
32  
33 sub handle_response
34 {
35 0 ▶ my ($self, $response, $server) = @_;
Subroutine handle_response: not called CC=1 SCAR=6.9
Pod undocumented
36  
37 0 return;
38 }
39  
40 1 1;
« PLS/Server/Response/ServerNotInitialized.pm ↑ Summary PLS/Parser/Element/Package.pm »