lib/SOAP/Lite/Deserializer/XMLSchema2001.pm

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