forked from mainephd/sonago
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sonar-generic-coverage.xsd
27 lines (25 loc) · 1.07 KB
/
sonar-generic-coverage.xsd
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
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="coverage">
<xs:complexType>
<xs:sequence>
<xs:element name="file" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="lineToCover" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:attribute name="lineNumber" type="xs:positiveInteger" use="required"/>
<xs:attribute name="covered" type="xs:boolean" use="required"/>
<xs:attribute name="branchesToCover" type="xs:nonNegativeInteger"/>
<xs:attribute name="coveredBranches" type="xs:nonNegativeInteger"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="path" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="version" type="xs:positiveInteger" use="required"/>
</xs:complexType>
</xs:element>
</xs:schema>