blib/lib/SOAP/WSDL/PortType.pm

filter: Statementstmt 100% 22 / 22 Branchbran 100% 2 / 2 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 7 / 7 Podpod 0.0% 0 / 1 totaltotal 96.8% 31 / 32 CC 2 SCAR 2.2
CC
2
Cov
100%
__ANON__
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« blib/lib/SOAP/WSDL/Generator/Visitor.pm ↑ Summary blib/lib/SOAP/WSDL/XSD/Schema/Builtin.pm »
1 package SOAP::WSDL::PortType;
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 ▶use Class::Std::Fast::Storable;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 2 ▶use List::Util;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 2 ▶use base qw(SOAP::WSDL::Base);
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 2 our $VERSION = 3.004;
9  
10 2 my %operation_of :ATTR(:name<operation> :default<()>);
11  
12 #
13 #=head2 find_operation
14 #
15 #$port_type->find_operation($namespace, $name)
16 #
17 #Returns the PortType's operation object matching the given namespace and
18 #name
19 #
20  
21 3 ▶sub find_operation {
Subroutine find_operation: called CC=1 SCAR=0.0
Pod undocumented
22 8 ▶ return List::Util::first {
Subroutine __ANON__: called CC=2 SCAR=6.9
23 8 ▶ ( $_->get_targetNamespace() eq $_[1] ) && ( $_->get_name() eq $_[2] )
Branch: 1 branch
BranchTrueFalseTotal
$_->get_targetNamespace eq $_[1] and $_->get_name eq $_[2] 4 4 8
24 3 } @{ $operation_of{ ${ $_[0] } } };
25 };
26  
27 2 1;
« blib/lib/SOAP/WSDL/Generator/Visitor.pm ↑ Summary blib/lib/SOAP/WSDL/XSD/Schema/Builtin.pm »