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

filter: Statementstmt 95.0% 19 / 20 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 83.3% 5 / 6 Podpod 100% 1 / 1 totaltotal 92.5% 25 / 27 CC 1 SCAR 1.5
CC
1
Cov
95%
lang
2.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.2
« blib/lib/XML/Pastor/Builtin/boolean.pm ↑ Summary test/out/lib/XML/Pastor/Test/Type/City.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_name;
16  
17  
18 1 our @ISA=qw(XML::Pastor::Builtin::string);
19  
20 1 XML::Pastor::Test::Type::Country_name->mk_accessors( qw(_lang));
21  
22 # Attribute accessor aliases
23  
24 0 ▶sub lang { &_lang; }
Subroutine lang: not called CC=1 SCAR=6.9
Pod documented
25  
26 1 XML::Pastor::Test::Type::Country_name->XmlSchemaType( bless( {
27 'attributeInfo' => {
28 'lang' => bless( {
29 'class' => 'XML::Pastor::Builtin::string',
30 'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
31 'name' => 'lang',
32 'scope' => 'local',
33 'targetNamespace' => 'http://www.example.com/country',
34 'type' => 'string|http://www.w3.org/2001/XMLSchema'
35 }, 'XML::Pastor::Schema::Attribute' )
36 },
37 'attributePrefix' => '_',
38 'attributes' => [
39 'lang'
40 ],
41 'base' => 'string|http://www.w3.org/2001/XMLSchema',
42 'baseClasses' => [
43 'XML::Pastor::Builtin::string'
44 ],
45 'class' => 'XML::Pastor::Test::Type::Country_name',
46 'contentType' => 'complex',
47 'derivedBy' => 'extension',
48 'elementInfo' => {},
49 'elements' => [],
50 'isRedefinable' => 1,
51 'isSimpleContent' => 1,
52 'metaClass' => 'XML::Pastor::Test::Pastor::Meta',
53 'name' => 'Country_name',
54 'nameIsAutoGenerated' => 1,
55 'scope' => 'local',
56 'targetNamespace' => 'http://www.example.com/country'
57 }, 'XML::Pastor::Schema::ComplexType' ) );
58  
59 1 1;
60  
61  
62 __END__
« blib/lib/XML/Pastor/Builtin/boolean.pm ↑ Summary test/out/lib/XML/Pastor/Test/Type/City.pm »