test/out/lib/XML/Pastor/Test/Type/Population.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%
date
2.0
figure
2.0
BEGIN
1.0
CRAP 1.3
« test/out/lib/XML/Pastor/Test/Type/Country_currency.pm ↑ Summary blib/lib/XML/Pastor/Builtin/boolean.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::Population;
16  
17  
18 1 our @ISA=qw(XML::Pastor::ComplexType);
19  
20 1 XML::Pastor::Test::Type::Population->mk_accessors( qw(_date _figure));
21  
22 # Attribute accessor aliases
23  
24 0 ▶sub date { &_date; }
Subroutine date: not called CC=1 SCAR=6.9
Pod documented
25 0 ▶sub figure { &_figure; }
Subroutine figure: not called CC=1 SCAR=6.9
Pod documented
26  
27 1 XML::Pastor::Test::Type::Population->XmlSchemaType( bless( {
28 'attributeInfo' => {
29 'date' => bless( {
30 'class' => 'XML::Pastor::Builtin::date',
31 'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
32 'name' => 'date',
33 'scope' => 'local',
34 'targetNamespace' => 'http://www.example.com/country',
35 'type' => 'date|http://www.w3.org/2001/XMLSchema'
36 }, 'XML::Pastor::Schema::Attribute' ),
37 'figure' => bless( {
38 'class' => 'XML::Pastor::Builtin::nonNegativeInteger',
39 'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
40 'name' => 'figure',
41 'scope' => 'local',
42 'targetNamespace' => 'http://www.example.com/country',
43 'type' => 'nonNegativeInteger|http://www.w3.org/2001/XMLSchema'
44 }, 'XML::Pastor::Schema::Attribute' )
45 },
46 'attributePrefix' => '_',
47 'attributes' => [
48 'date',
49 'figure'
50 ],
51 'baseClasses' => [
52 'XML::Pastor::ComplexType'
53 ],
54 'class' => 'XML::Pastor::Test::Type::Population',
55 'contentType' => 'complex',
56 'elementInfo' => {},
57 'elements' => [],
58 'isRedefinable' => 1,
59 'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
60 'name' => 'Population',
61 'scope' => 'global',
62 'targetNamespace' => 'http://www.example.com/country'
63 }, 'XML::Pastor::Schema::ComplexType' ) );
64  
65 1 1;
66  
67  
68 __END__
« test/out/lib/XML/Pastor/Test/Type/Country_currency.pm ↑ Summary blib/lib/XML/Pastor/Builtin/boolean.pm »