lib/SOAP/Lite/Deserializer/XMLSchema2001.pm

filter: Statementstmt 100% 27 / 27 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 8 / 8 Podpod 0.0% 0 / 1 totaltotal 97.2% 35 / 36 CC 2 SCAR 2.0
CC
2
Cov
100%
BEGIN
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« lib/SOAP/Transport/LOOPBACK.pm ↑ Summary lib/SOAP/Constants.pm »
1 package SOAP::Lite::Deserializer::XMLSchema2001;
2  
3 11 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 11 ▶use SOAP::Lite::Deserializer::XMLSchema1999;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 11 ▶use SOAP::Lite::Deserializer::XMLSchemaSOAP1_1;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 11 ▶use SOAP::Lite::Deserializer::XMLSchemaSOAP1_2;
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 44 ▶sub anyTypeValue { 'anyType' }
Subroutine anyTypeValue: called CC=1 SCAR=0.0
Pod undocumented
9 11 sub as_string; *as_string = \&SOAP::Lite::Deserializer::XMLSchema1999::as_string;
10 11 sub as_anyURI; *as_anyURI = \&SOAP::Lite::Deserializer::XMLSchemaSOAP1_1::as_anyURI;
11 11 sub as_boolean; *as_boolean = \&SOAP::Lite::Deserializer::XMLSchemaSOAP1_2::as_boolean;
12 11 sub as_base64Binary; *as_base64Binary = \&SOAP::Lite::Deserializer::XMLSchemaSOAP1_2::as_base64;
13 11 sub as_hexBinary; *as_hexBinary = \&SOAP::Lite::Deserializer::XMLSchema1999::as_hex;
14 11 sub as_undef; *as_undef = \&SOAP::Lite::Deserializer::XMLSchema1999::as_undef;
15  
16 BEGIN {
17 11 ▶ no strict 'refs';
Subroutine BEGIN: called CC=1 SCAR=0.0
18 11 ▶ for my $method (qw(
Subroutine BEGIN: called CC=2 SCAR=6.9
19 anyType anySimpleType
20 float double decimal dateTime timePeriod gMonth gYearMonth gYear
21 century gMonthDay gDay duration recurringDuration
22 language integer nonPositiveInteger negativeInteger long int short
23 byte nonNegativeInteger unsignedLong unsignedInt unsignedShort
24 unsignedByte positiveInteger date time QName
25 )) {
26 352 my $name = 'as_' . $method;
27 46 ▶ *$name = sub { $_[1] }
Subroutine __ANON__: called CC=1 SCAR=0.0
28 352 }
29 }
30  
31 11 1;
« lib/SOAP/Transport/LOOPBACK.pm ↑ Summary lib/SOAP/Constants.pm »