lib/SOAP/Transport/LOOPBACK.pm

filter: Statementstmt 100% 23 / 23 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 31 / 31 CC 2 SCAR 2.5
CC
2
Cov
100%
new
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.3
« lib/SOAP/Lite/Deserializer/XMLSchemaSOAP1_2.pm ↑ Summary lib/SOAP/Lite/Deserializer/XMLSchema2001.pm »
1 # ======================================================================
2 #
3 # Copyright (C) 2007 Martin Kutter.
4 # Part of SOAP-Lite, Copyright (C) 2000-2001 Paul Kulchenko
5 # (paulclinger@yahoo.com)
6 # You may distribute/modify this file under the same terms as perl itself.
7 #
8 # $ID: $
9 #
10 # ======================================================================
11  
12 package SOAP::Transport::LOOPBACK;
13 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
14  
15 package SOAP::Transport::LOOPBACK::Client;
16 3 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
17  
18 3 our $VERSION = '1.27'; # VERSION
19  
20 3 ▶use vars qw(@ISA);
Subroutine BEGIN: called CC=1 SCAR=0.0
21 3 ▶use SOAP::Lite;
Subroutine BEGIN: called CC=1 SCAR=0.0
22 3 @ISA = qw(SOAP::Client);
23  
24 5 ▶sub new {
Subroutine new: called CC=2 SCAR=6.9
25 5 ▶ return $_[0] if ref $_[0];
Branch: 1 branch
BranchTrueFalseTotal
if ref $_[0] 1 4 5
26 4 return bless {}, $_[0];
27 }
28  
29 3 ▶sub send_receive {
Subroutine send_receive: called CC=1 SCAR=0.0
30 3 my($self, %parameters) = @_;
31  
32 3 $self->code(200);
33 3 $self->message('OK');
34 3 $self->is_success(1);
35 3 $self->status('200 OK');
36  
37 3 return $parameters{envelope};
38 }
39  
40 3 1;
41  
42 __END__
« lib/SOAP/Lite/Deserializer/XMLSchemaSOAP1_2.pm ↑ Summary lib/SOAP/Lite/Deserializer/XMLSchema2001.pm »