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   9708 use SOAP::Lite::Deserializer::XMLSchemaSOAP1_1;
  25         141  
  25         2382  
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   123 no strict 'refs';
  25         31  
  25         1952  
11 25     25   109 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         796 my $name = 'as_' . $method;
20 800     0   3725 *$name = sub { $_[1] };
  0            
21             }
22             }
23              
24             1;