Shipment/Purolator/WSDL/Types/Piece.pm untested

filter: Statementstmt 0.0% 0 / 32 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 6 Podpod 0.0% 0 / 2 totaltotal 0.0% 0 / 40 CC 1 SCAR 6.9
CC
1
Cov
0%
get_xmlns
2.0
__get_attr_class
2.0
BEGIN
2.0
CRAP 2.0
1 package Shipment::Purolator::WSDL::Types::Piece;
2 $Shipment::Purolator::WSDL::Types::Piece::VERSION = '3.11';
3 use strict;
4 use warnings;
5  
6  
7 __PACKAGE__->_set_element_form_qualified(1);
8  
9 sub get_xmlns {'http://purolator.com/pws/datatypes/v1'}
10  
11 our $XML_ATTRIBUTE_CLASS;
12 undef $XML_ATTRIBUTE_CLASS;
13  
14 sub __get_attr_class {
15 return $XML_ATTRIBUTE_CLASS;
16 }
17  
18 use Class::Std::Fast::Storable constructor => 'none';
19 use base qw(SOAP::WSDL::XSD::Typelib::ComplexType);
20  
21 Class::Std::initialize();
22  
23 { # BLOCK to scope variables
24  
25 my %Weight_of : ATTR(:get<Weight>);
26 my %Length_of : ATTR(:get<Length>);
27 my %Width_of : ATTR(:get<Width>);
28 my %Height_of : ATTR(:get<Height>);
29 my %Options_of : ATTR(:get<Options>);
30  
31 __PACKAGE__->_factory(
32 [ qw( Weight
33 Length
34 Width
35 Height
36 Options
37  
38 )
39 ],
40 { 'Weight' => \%Weight_of,
41 'Length' => \%Length_of,
42 'Width' => \%Width_of,
43 'Height' => \%Height_of,
44 'Options' => \%Options_of,
45 },
46 { 'Weight' => 'Shipment::Purolator::WSDL::Types::Weight',
47 'Length' => 'Shipment::Purolator::WSDL::Types::Dimension',
48 'Width' => 'Shipment::Purolator::WSDL::Types::Dimension',
49 'Height' => 'Shipment::Purolator::WSDL::Types::Dimension',
50 'Options' =>
51 'Shipment::Purolator::WSDL::Types::ArrayOfOptionIDValuePair',
52 },
53 {
54  
55 'Weight' => 'Weight',
56 'Length' => 'Length',
57 'Width' => 'Width',
58 'Height' => 'Height',
59 'Options' => 'Options',
60 }
61 );
62  
63 } # end BLOCK
64  
65  
66 1;
67  
68 __END__