test/out/lib/XML/Pastor/Test/Type/Country_currency.pm

filter: Statementstmt 90.4% 19 / 21 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 71.4% 5 / 7 Podpod 100% 2 / 2 totaltotal 86.6% 26 / 30 CC 1 SCAR 2.5
CC
1
Cov
90%
code
2.0
name
2.0
BEGIN
1.0
CRAP 1.3
« blib/lib/XML/Pastor/Builtin/base64Binary.pm ↑ Summary test/out/lib/XML/Pastor/Test/Type/Population.pm »
1  
2 #PASTOR: Code generated by XML::Pastor/1.0.4 at 'Fri Oct 30 23:33:56 2026'
3  
4 1 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 1 ▶no warnings qw(uninitialized);
Subroutine BEGIN: called CC=1 SCAR=0.0
8  
9 1 ▶use XML::Pastor;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11  
12  
13 #================================================================
14  
15 package XML::Pastor::Test::Type::Country_currency;
16  
17  
18 1 our @ISA=qw(XML::Pastor::ComplexType);
19  
20 1 XML::Pastor::Test::Type::Country_currency->mk_accessors( qw(_code _name));
21  
22 # Attribute accessor aliases
23  
24 0 ▶sub code { &_code; }
Subroutine code: not called CC=1 SCAR=6.9
Pod documented
25 0 ▶sub name { &_name; }
Subroutine name: not called CC=1 SCAR=6.9
Pod documented
26  
27 1 XML::Pastor::Test::Type::Country_currency->XmlSchemaType( bless( {
28 'attributeInfo' => {
29 'code' => bless( {
30 'class' => 'XML::Pastor::Builtin::string',
31 'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
32 'name' => 'code',
33 'scope' => 'local',
34 'targetNamespace' => 'http://www.example.com/country',
35 'type' => 'string|http://www.w3.org/2001/XMLSchema'
36 }, 'XML::Pastor::Schema::Attribute' ),
37 'name' => bless( {
38 'class' => 'XML::Pastor::Builtin::string',
39 'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
40 'name' => 'name',
41 'scope' => 'local',
42 'targetNamespace' => 'http://www.example.com/country',
43 'type' => 'string|http://www.w3.org/2001/XMLSchema'
44 }, 'XML::Pastor::Schema::Attribute' )
45 },
46 'attributePrefix' => '_',
47 'attributes' => [
48 'code',
49 'name'
50 ],
51 'baseClasses' => [
52 'XML::Pastor::ComplexType'
53 ],
54 'class' => 'XML::Pastor::Test::Type::Country_currency',
55 'contentType' => 'complex',
56 'elementInfo' => {},
57 'elements' => [],
58 'isRedefinable' => 1,
59 'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
60 'name' => 'Country_currency',
61 'nameIsAutoGenerated' => 1,
62 'scope' => 'local',
63 'targetNamespace' => 'http://www.example.com/country'
64 }, 'XML::Pastor::Schema::ComplexType' ) );
65  
66 1 1;
67  
68  
69 __END__
« blib/lib/XML/Pastor/Builtin/base64Binary.pm ↑ Summary test/out/lib/XML/Pastor/Test/Type/Population.pm »