SOAP/Response.pm

filter: Statementstmt 70.0% 14 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 40.0% 4 / 10 Podpod 0.0% 0 / 6 totaltotal 50.0% 18 / 36 CC 1 SCAR 4.7
CC
1
Cov
70%
soapservice
2.0
soapmethod
2.0
soapheaders
2.0
CRAP 1.6
« SOAP.pm ↑ Summary
1 # $Id: Response.pm 82 2008-08-08 01:30:59Z larwan $
2 package POE::Component::Server::SOAP::Response;
3 1 ▶use strict; use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 # Initialize our version
6 1 ▶use vars qw( $VERSION );
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 $VERSION = '1.14';
8  
9 # Set our stuff to SimpleHTTP::Response
10 1 ▶use base qw( POE::Component::Server::SimpleHTTP::Response );
Subroutine BEGIN: called CC=1 SCAR=0.0
11  
12 # Accessor for SOAP Service name
13 0 ▶sub soapservice {
Subroutine soapservice: not called CC=1 SCAR=6.9
Pod undocumented
14 0 return shift->{'SOAPSERVICE'};
15 }
16  
17 # Accessor for SOAP Method name
18 0 ▶sub soapmethod {
Subroutine soapmethod: not called CC=1 SCAR=6.9
Pod undocumented
19 0 return shift->{'SOAPMETHOD'};
20 }
21  
22 # Accessor for SOAP Headers
23 0 ▶sub soapheaders {
Subroutine soapheaders: not called CC=1 SCAR=6.9
Pod undocumented
24 0 return shift->{'SOAPHEADERS'};
25 }
26  
27 # Accessor for SOAP Body
28 0 ▶sub soapbody {
Subroutine soapbody: not called CC=1 SCAR=6.9
Pod undocumented
29 0 return shift->{'SOAPBODY'};
30 }
31  
32 # Accessor for SOAP URI
33 0 ▶sub soapuri {
Subroutine soapuri: not called CC=1 SCAR=6.9
Pod undocumented
34 0 return shift->{'SOAPURI'};
35 }
36  
37 # Accessor for the original HTTP::Request object
38 0 ▶sub soaprequest {
Subroutine soaprequest: not called CC=1 SCAR=6.9
Pod undocumented
39 0 return shift->{'SOAPREQUEST'};
40 }
41  
42 # End of module
43 1 1;
44  
45 __END__
« SOAP.pm ↑ Summary