lib/SOAP/Lite/Deserializer/XMLSchemaSOAP1_2.pm

filter: Statementstmt 84.2% 16 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod 0.0% 0 / 2 totaltotal 78.5% 22 / 28 CC 2 SCAR 3.2
CC
2
Cov
84%
as_base64
2.0
BEGIN
2.0
BEGIN
1.0
CRAP 1.4
« lib/SOAP/Lite/Utils.pm ↑ Summary lib/SOAP/Transport/LOOPBACK.pm »
1 package SOAP::Lite::Deserializer::XMLSchemaSOAP1_2;
2 45 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 45 ▶use SOAP::Lite::Deserializer::XMLSchemaSOAP1_1;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 1 ▶sub anyTypeValue { 'anyType' }
Subroutine anyTypeValue: called CC=1 SCAR=0.0
Pod undocumented
6  
7 45 sub as_boolean; *as_boolean = \&SOAP::Lite::Deserializer::XMLSchemaSOAP1_1::as_boolean;
8 0 ▶sub as_base64 { shift; require MIME::Base64; MIME::Base64::decode_base64(shift) }
Subroutine as_base64: not called CC=1 SCAR=6.9
Pod undocumented
9  
10 BEGIN {
11 45 ▶ no strict 'refs';
Subroutine BEGIN: called CC=1 SCAR=0.0
12 45 ▶ for my $method (qw(
Subroutine BEGIN: called CC=2 SCAR=6.9
13 anyType
14 string float double decimal dateTime timePeriod gMonth gYearMonth gYear
15 century gMonthDay gDay duration recurringDuration anyURI
16 language integer nonPositiveInteger negativeInteger long int short byte
17 nonNegativeInteger unsignedLong unsignedInt unsignedShort unsignedByte
18 positiveInteger date time
19 )) {
20 1440 my $name = 'as_' . $method;
21 1440 ▶ *$name = sub { $_[1] };
Subroutine __ANON__: called CC=1 SCAR=0.0
22 }
23 }
24  
25 45 1;
« lib/SOAP/Lite/Utils.pm ↑ Summary lib/SOAP/Transport/LOOPBACK.pm »