lib/SOAP/Transport/LOOPBACK.pm

filter: Statementstmt 100% 22 / 22 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 30 / 30 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 ▶use vars qw(@ISA);
Subroutine BEGIN: called CC=1 SCAR=0.0
19 3 ▶use SOAP::Lite;
Subroutine BEGIN: called CC=1 SCAR=0.0
20 3 @ISA = qw(SOAP::Client);
21  
22 sub new {
23 5 ▶ return $_[0] if ref $_[0];
Subroutine new: called CC=2 SCAR=6.9
Branch: 1 branch
BranchTrueFalseTotal
if ref $_[0] 1 4 5
24 4 return bless {}, $_[0];
25 }
26  
27 sub send_receive {
28 3 ▶ my($self, %parameters) = @_;
Subroutine send_receive: called CC=1 SCAR=0.0
29  
30 3 $self->code(200);
31 3 $self->message('OK');
32 3 $self->is_success(1);
33 3 $self->status('200 OK');
34  
35 3 return $parameters{envelope};
36 }
37  
38 3 1;
39  
40 __END__
« lib/SOAP/Lite/Deserializer/XMLSchemaSOAP1_2.pm ↑ Summary lib/SOAP/Lite/Deserializer/XMLSchema2001.pm »