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 | 2662 | use strict; | |||
5 | 9 | ||||||
5 | 115 | ||||||
3 | 5 | 5 | 15 | use warnings; | |||
5 | 6 | ||||||
5 | 86 | ||||||
4 | 5 | 5 | 13 | use base qw(SOAP::WSDL::XSD::Typelib::ComplexType); | |||
5 | 6 | ||||||
5 | 427 | ||||||
5 | |||||||
6 | our $VERSION = 3.003; | ||||||
7 | |||||||
8 | sub serialize { | ||||||
9 | # we work on @_ for performance. | ||||||
10 | # $_[1] ||= {}; # $option_ref | ||||||
11 | # TODO: What about namespaces? | ||||||
12 | 4 | 4 | 1 | 389 | return ${ $_[0]->_serialize({ attr => 1 }) }; | ||
4 | 12 | ||||||
13 | } | ||||||
14 | |||||||
15 | |||||||
16 | 1; |