lib/SOAP/Lite/Deserializer/XMLSchemaSOAP1_2.pm

filter: Statementstmt 85.0% 17 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 85.7% 6 / 7 Podpod 0.0% 0 / 2 totaltotal 79.3% 23 / 29 CC 2 SCAR 3.2
CC
2
Cov
85%
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 46 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3  
4 46 our $VERSION = '1.27'; # VERSION
5  
6 46 ▶use SOAP::Lite::Deserializer::XMLSchemaSOAP1_1;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 ▶sub anyTypeValue { 'anyType' }
Subroutine anyTypeValue: called CC=1 SCAR=0.0
Pod undocumented
9  
10 46 sub as_boolean; *as_boolean = \&SOAP::Lite::Deserializer::XMLSchemaSOAP1_1::as_boolean;
11 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
12  
13 46 ▶BEGIN {
Subroutine BEGIN: called CC=2 SCAR=6.9
14 46 ▶ no strict 'refs';
Subroutine BEGIN: called CC=1 SCAR=0.0
15 46 for my $method (qw(
16 anyType
17 string float double decimal dateTime timePeriod gMonth gYearMonth gYear
18 century gMonthDay gDay duration recurringDuration anyURI
19 language integer nonPositiveInteger negativeInteger long int short byte
20 nonNegativeInteger unsignedLong unsignedInt unsignedShort unsignedByte
21 positiveInteger date time
22 )) {
23 1472 my $name = 'as_' . $method;
24 1472 ▶ *$name = sub { $_[1] };
Subroutine __ANON__: called CC=1 SCAR=0.0
25 }
26 }
27  
28 46 1;
« lib/SOAP/Lite/Utils.pm ↑ Summary lib/SOAP/Transport/LOOPBACK.pm »