File Coverage

lib/SOAP/WSDL/XSD/Typelib/AttributeSet.pm
Criterion Covered Total %
statement 11 11 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod 1 1 100.0
total 16 16 100.0


line stmt bran cond sub pod time code
1             package SOAP::WSDL::XSD::Typelib::AttributeSet;
2 5     5   4866 use strict;
  5         13  
  5         167  
3 5     5   26 use warnings;
  5         10  
  5         140  
4 5     5   23 use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);
  5         10  
  5         642  
5              
6             our $VERSION = $SOAP::WSDL::VERSION;
7              
8             sub serialize {
9             # we work on @_ for performance.
10             # $_[1] ||= {}; # $option_ref
11             # TODO: What about namespaces?
12 4     4 1 586 return ${ $_[0]->_serialize({ attr => 1 }) };
  4         22  
13             }
14              
15              
16             1;