lib/MOSES/MOBY/Tags.pm

filter: Statementstmt 100% 151 / 151 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 50 / 50 Podpod n/a totaltotal 100% 201 / 201 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« lib/MOSES/MOBY.pm ↑ Summary
1 package MOSES::MOBY::Tags;
2 2 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
3 2 ▶use vars qw( @ISA @EXPORT );
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 # add versioning to this module
6 2 ▶use vars qw /$VERSION/;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 2 $VERSION = sprintf "%d.%02d", q$Revision: 1.4 $ =~ /: (\d+)\.(\d+)/;
8  
9 2 ▶BEGIN {
Subroutine BEGIN: called CC=1 SCAR=0.0
10 2 @ISA = qw( Exporter );
11 2 @EXPORT = qw(
12 ARTICLENAME
13 AUTHORITY
14 AUTHURI
15 COLLECTION
16 COMMENT
17 CROSSREFERENCE
18 DATABASECOMMENT
19 DATABASENAME
20 DATABASEVERSION
21 EVIDENCECODE
22 EXCEPTIONCODE
23 EXCEPTIONMESSAGE
24 MOBY_XML_NS_PREFIX
25 MOBY_XML_NS
26 MOBY
27 MOBYBOOLEAN
28 MOBYCONTENT
29 MOBYDATA
30 MOBYDATETIME
31 MOBYEXCEPTION
32 MOBYFLOAT
33 MOBYINTEGER
34 MOBYOBJECT
35 MOBYSTRING
36 NOTES
37 OBJ_ID
38 OBJ_NAMESPACE
39 PARAMETER
40 PLAINVERSION
41 PROVISIONINFORMATION
42 QUERYID
43 REFELEMENT
44 REFQUERYID
45 SERVICECOMMENT
46 SERVICEDATABASE
47 SERVICENAME
48 SERVICENOTES
49 SERVICESOFTWARE
50 SEVERITY
51 SIMPLE
52 SOFTWARECOMMENT
53 SOFTWARENAME
54 SOFTWAREVERSION
55 VALUE
56 XREF
57 XREFTYPE
58 );
59 2 ▶use constant MOBY_XML_NS_PREFIX => 'moby';
Subroutine BEGIN: called CC=1 SCAR=0.0
60  
61 2 ▶use constant MOBY_XML_NS => 'http://www.biomoby.org/moby';
Subroutine BEGIN: called CC=1 SCAR=0.0
62  
63 ################################
64 ## PCDATA elements ##
65 ################################
66  
67 2 ▶use constant NOTES => 'Notes';
Subroutine BEGIN: called CC=1 SCAR=0.0
68  
69 2 ▶use constant SERVICECOMMENT => 'serviceComment';
Subroutine BEGIN: called CC=1 SCAR=0.0
70  
71 2 ▶use constant COMMENT => 'comment';
Subroutine BEGIN: called CC=1 SCAR=0.0
72  
73 2 ▶use constant VALUE => 'Value';
Subroutine BEGIN: called CC=1 SCAR=0.0
74  
75 2 ▶use constant XREF => 'Xref';
Subroutine BEGIN: called CC=1 SCAR=0.0
76  
77 2 ▶use constant EXCEPTIONCODE => 'exceptionCode';
Subroutine BEGIN: called CC=1 SCAR=0.0
78  
79 2 ▶use constant EXCEPTIONMESSAGE => 'exceptionMessage';
Subroutine BEGIN: called CC=1 SCAR=0.0
80  
81 ################################
82 ## Biomoby primitive types ##
83 ################################
84 2 ▶use constant MOBYSTRING => 'String';
Subroutine BEGIN: called CC=1 SCAR=0.0
85  
86 2 ▶use constant MOBYINTEGER => 'Integer';
Subroutine BEGIN: called CC=1 SCAR=0.0
87  
88 2 ▶use constant MOBYFLOAT => 'Float';
Subroutine BEGIN: called CC=1 SCAR=0.0
89  
90 2 ▶use constant MOBYBOOLEAN => 'Boolean';
Subroutine BEGIN: called CC=1 SCAR=0.0
91  
92 2 ▶use constant MOBYDATETIME => 'DateTime';
Subroutine BEGIN: called CC=1 SCAR=0.0
93  
94 ################################
95 ## non-PCDATA elements ##
96 ################################
97  
98 2 ▶use constant MOBY => 'MOBY';
Subroutine BEGIN: called CC=1 SCAR=0.0
99  
100 2 ▶use constant MOBYCONTENT => 'mobyContent';
Subroutine BEGIN: called CC=1 SCAR=0.0
101  
102 2 ▶use constant SERVICENOTES => 'serviceNotes';
Subroutine BEGIN: called CC=1 SCAR=0.0
103  
104 2 ▶use constant MOBYDATA => 'mobyData';
Subroutine BEGIN: called CC=1 SCAR=0.0
105  
106 2 ▶use constant SIMPLE => 'Simple';
Subroutine BEGIN: called CC=1 SCAR=0.0
107  
108 2 ▶use constant COLLECTION => 'Collection';
Subroutine BEGIN: called CC=1 SCAR=0.0
109  
110 2 ▶use constant PARAMETER => 'Parameter';
Subroutine BEGIN: called CC=1 SCAR=0.0
111  
112 2 ▶use constant MOBYOBJECT => 'Object';
Subroutine BEGIN: called CC=1 SCAR=0.0
113  
114 2 ▶use constant CROSSREFERENCE => 'CrossReference';
Subroutine BEGIN: called CC=1 SCAR=0.0
115  
116 2 ▶use constant PROVISIONINFORMATION => 'ProvisionInforomation';
Subroutine BEGIN: called CC=1 SCAR=0.0
117  
118 2 ▶use constant SERVICESOFTWARE => 'serviceSoftware';
Subroutine BEGIN: called CC=1 SCAR=0.0
119  
120 2 ▶use constant SERVICEDATABASE => 'serviceDatabase';
Subroutine BEGIN: called CC=1 SCAR=0.0
121  
122 2 ▶use constant MOBYEXCEPTION => 'mobyException';
Subroutine BEGIN: called CC=1 SCAR=0.0
123  
124 ################################
125 ## attribute names ##
126 ################################
127  
128 2 ▶use constant AUTHORITY => 'authority';
Subroutine BEGIN: called CC=1 SCAR=0.0
129  
130 2 ▶use constant QUERYID => 'queryID';
Subroutine BEGIN: called CC=1 SCAR=0.0
131  
132 2 ▶use constant OBJ_NAMESPACE => 'namespace';
Subroutine BEGIN: called CC=1 SCAR=0.0
133  
134 2 ▶use constant OBJ_ID => 'id';
Subroutine BEGIN: called CC=1 SCAR=0.0
135  
136 2 ▶use constant ARTICLENAME => 'articleName';
Subroutine BEGIN: called CC=1 SCAR=0.0
137  
138 2 ▶use constant PLAINVERSION => 'version';
Subroutine BEGIN: called CC=1 SCAR=0.0
139  
140 2 ▶use constant SOFTWARENAME => 'software_name';
Subroutine BEGIN: called CC=1 SCAR=0.0
141  
142 2 ▶use constant SOFTWAREVERSION => 'software_version';
Subroutine BEGIN: called CC=1 SCAR=0.0
143  
144 2 ▶use constant SOFTWARECOMMENT => 'software_comment';
Subroutine BEGIN: called CC=1 SCAR=0.0
145  
146 2 ▶use constant DATABASENAME => 'datatbase_name';
Subroutine BEGIN: called CC=1 SCAR=0.0
147  
148 2 ▶use constant DATABASEVERSION => 'database_version';
Subroutine BEGIN: called CC=1 SCAR=0.0
149  
150 2 ▶use constant DATABASECOMMENT => 'database_comment';
Subroutine BEGIN: called CC=1 SCAR=0.0
151  
152 2 ▶use constant AUTHURI => 'authURI';
Subroutine BEGIN: called CC=1 SCAR=0.0
153  
154 2 ▶use constant SERVICENAME => 'serviceName';
Subroutine BEGIN: called CC=1 SCAR=0.0
155  
156 2 ▶use constant EVIDENCECODE => 'evidenceCode';
Subroutine BEGIN: called CC=1 SCAR=0.0
157  
158 2 ▶use constant XREFTYPE => 'xrefType';
Subroutine BEGIN: called CC=1 SCAR=0.0
159  
160 2 ▶use constant SEVERITY => 'severity';
Subroutine BEGIN: called CC=1 SCAR=0.0
161  
162 2 ▶use constant REFQUERYID => 'refQueryID';
Subroutine BEGIN: called CC=1 SCAR=0.0
163  
164 2 ▶use constant REFELEMENT => 'refElement';
Subroutine BEGIN: called CC=1 SCAR=0.0
165 }
166 2 1;
« lib/MOSES/MOBY.pm ↑ Summary