File Coverage

blib/lib/SOAP/Lite/Deserializer/XMLSchemaSOAP1_2.pm
Criterion Covered Total %
statement 9 14 64.2
branch n/a
condition n/a
subroutine 3 6 50.0
pod 0 2 0.0
total 12 22 54.5


line stmt bran cond sub pod time code
1             package SOAP::Lite::Deserializer::XMLSchemaSOAP1_2;
2 25     25   11549 use SOAP::Lite::Deserializer::XMLSchemaSOAP1_1;
  25         172  
  25         2698  
3              
4 0     0 0   sub anyTypeValue { 'anyType' }
5              
6             sub as_boolean; *as_boolean = \&SOAP::Lite::Deserializer::XMLSchemaSOAP1_1::as_boolean;
7 0     0 0   sub as_base64 { shift; require MIME::Base64; MIME::Base64::decode_base64(shift) }
  0            
  0            
8              
9             BEGIN {
10 25     25   184 no strict 'refs';
  25         44  
  25         2483  
11 25     25   80 for my $method (qw(
12             anyType
13             string float double decimal dateTime timePeriod gMonth gYearMonth gYear
14             century gMonthDay gDay duration recurringDuration anyURI
15             language integer nonPositiveInteger negativeInteger long int short byte
16             nonNegativeInteger unsignedLong unsignedInt unsignedShort unsignedByte
17             positiveInteger date time
18             )) {
19 800         986 my $name = 'as_' . $method;
20 800     0   4557 *$name = sub { $_[1] };
  0            
21             }
22             }
23              
24             1;