-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
report.dtd
85 lines (72 loc) · 2.81 KB
/
report.dtd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!--
Copyright (c) 2009, 2023 Mountainminds GmbH & Co. KG and Contributors
This program and the accompanying materials are made available under
the terms of the Eclipse Public License 2.0 which is available at
http://www.eclipse.org/legal/epl-2.0
SPDX-License-Identifier: EPL-2.0
Contributors:
Brock Janiczak - initial API and implementation
Marc R. Hoffmann - generalized report structure, line info, documentation
-->
<!-- This DTD describes the JaCoCo XML report format. It is identified by the
following identifiers:
PUBID = "-//JACOCO//DTD Report 1.1//EN"
SYSTEM = "report.dtd"
-->
<!-- report root node -->
<!ELEMENT report (sessioninfo*, (group* | package*), counter*)>
<!ATTLIST report name CDATA #REQUIRED>
<!-- information about a session which contributed execution data -->
<!ELEMENT sessioninfo EMPTY>
<!-- session id -->
<!ATTLIST sessioninfo id CDATA #REQUIRED>
<!-- start time stamp -->
<!ATTLIST sessioninfo start CDATA #REQUIRED>
<!-- dump time stamp -->
<!ATTLIST sessioninfo dump CDATA #REQUIRED>
<!-- representation of a group -->
<!ELEMENT group ((group* | package*), counter*)>
<!-- group name -->
<!ATTLIST group name CDATA #REQUIRED>
<!-- representation of a package -->
<!ELEMENT package ((class | sourcefile)*, counter*)>
<!-- package name in VM notation -->
<!ATTLIST package name CDATA #REQUIRED>
<!-- representation of a class -->
<!ELEMENT class (method*, counter*)>
<!-- fully qualified VM name -->
<!ATTLIST class name CDATA #REQUIRED>
<!-- name of the corresponding source file -->
<!ATTLIST class sourcefilename CDATA #IMPLIED>
<!-- representation of a method -->
<!ELEMENT method (counter*)>
<!-- method name -->
<!ATTLIST method name CDATA #REQUIRED>
<!-- method descriptor -->
<!ATTLIST method desc CDATA #REQUIRED>
<!-- first source line number of this method -->
<!ATTLIST method line CDATA #IMPLIED>
<!-- representation of a source file -->
<!ELEMENT sourcefile (line*, counter*)>
<!-- local source file name -->
<!ATTLIST sourcefile name CDATA #REQUIRED>
<!-- representation of a source line -->
<!ELEMENT line EMPTY>
<!-- line number -->
<!ATTLIST line nr CDATA #REQUIRED>
<!-- number of missed instructions -->
<!ATTLIST line mi CDATA #IMPLIED>
<!-- number of covered instructions -->
<!ATTLIST line ci CDATA #IMPLIED>
<!-- number of missed branches -->
<!ATTLIST line mb CDATA #IMPLIED>
<!-- number of covered branches -->
<!ATTLIST line cb CDATA #IMPLIED>
<!-- coverage data counter for different metrics -->
<!ELEMENT counter EMPTY>
<!-- metric type -->
<!ATTLIST counter type (INSTRUCTION|BRANCH|LINE|COMPLEXITY|METHOD|CLASS) #REQUIRED>
<!-- number of missed items -->
<!ATTLIST counter missed CDATA #REQUIRED>
<!-- number of covered items -->
<!ATTLIST counter covered CDATA #REQUIRED>