forked from AlekSi/gocov-xml
-
Notifications
You must be signed in to change notification settings - Fork 2
/
coverage-with-data.xml
179 lines (178 loc) · 7.07 KB
/
coverage-with-data.xml
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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<?xml version="1.0"?>
<!--DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-03.dtd"-->
<coverage line-rate="0.9" branch-rate="0.75" version="1.9" timestamp="1187350905008">
<sources>
<source>C:/local/mvn-coverage-example/src/main/java</source>
<source>--source</source>
</sources>
<packages>
<package name="" line-rate="1.0" branch-rate="1.0" complexity="1.0">
<classes>
<class name="Main" filename="Main.java" line-rate="1.0" branch-rate="1.0" complexity="1.0">
<methods>
<method name="<init>" signature="()V" line-rate="1.0" branch-rate="1.0">
<lines>
<line number="10" hits="3" branch="false"/>
</lines>
</method>
<method name="doSearch" signature="()V" line-rate="1.0" branch-rate="1.0">
<lines>
<line number="23" hits="3" branch="false"/>
<line number="25" hits="3" branch="false"/>
<line number="26" hits="3" branch="false"/>
<line number="28" hits="3" branch="false"/>
<line number="29" hits="3" branch="false"/>
<line number="30" hits="3" branch="false"/>
</lines>
</method>
<method name="main" signature="([Ljava/lang/String;)V" line-rate="1.0" branch-rate="1.0">
<lines>
<line number="16" hits="3" branch="false"/>
<line number="17" hits="3" branch="false"/>
<line number="18" hits="3" branch="false"/>
<line number="19" hits="3" branch="false"/>
</lines>
</method>
</methods>
<lines>
<line number="10" hits="3" branch="false"/>
<line number="16" hits="3" branch="false"/>
<line number="17" hits="3" branch="false"/>
<line number="18" hits="3" branch="false"/>
<line number="19" hits="3" branch="false"/>
<line number="23" hits="3" branch="false"/>
<line number="25" hits="3" branch="false"/>
<line number="26" hits="3" branch="false"/>
<line number="28" hits="3" branch="false"/>
<line number="29" hits="3" branch="false"/>
<line number="30" hits="3" branch="false"/>
</lines>
</class>
</classes>
</package>
<package name="search" line-rate="0.8421052631578947" branch-rate="0.75" complexity="3.25">
<classes>
<class name="search.BinarySearch" filename="search/BinarySearch.java" line-rate="0.9166666666666666" branch-rate="0.8333333333333334" complexity="3.0">
<methods>
<method name="<init>" signature="()V" line-rate="1.0" branch-rate="1.0">
<lines>
<line number="12" hits="3" branch="false"/>
</lines>
</method>
<method name="find" signature="([II)I" line-rate="0.9090909090909091" branch-rate="0.8333333333333334">
<lines>
<line number="16" hits="3" branch="false"/>
<line number="18" hits="12" branch="true" condition-coverage="100% (2/2)">
<conditions>
<condition number="0" type="jump" coverage="100%"/>
</conditions>
</line>
<line number="20" hits="9" branch="false"/>
<line number="21" hits="9" branch="false"/>
<line number="23" hits="9" branch="true" condition-coverage="50% (1/2)">
<conditions>
<condition number="0" type="jump" coverage="50%"/>
</conditions>
</line>
<line number="24" hits="0" branch="false"/>
<line number="25" hits="9" branch="true" condition-coverage="100% (2/2)">
<conditions>
<condition number="0" type="jump" coverage="100%"/>
</conditions>
</line>
<line number="26" hits="6" branch="false"/>
<line number="28" hits="3" branch="false"/>
<line number="29" hits="9" branch="false"/>
<line number="31" hits="3" branch="false"/>
</lines>
</method>
</methods>
<lines>
<line number="12" hits="3" branch="false"/>
<line number="16" hits="3" branch="false"/>
<line number="18" hits="12" branch="true" condition-coverage="100% (2/2)">
<conditions>
<condition number="0" type="jump" coverage="100%"/>
</conditions>
</line>
<line number="20" hits="9" branch="false"/>
<line number="21" hits="9" branch="false"/>
<line number="23" hits="9" branch="true" condition-coverage="50% (1/2)">
<conditions>
<condition number="0" type="jump" coverage="50%"/>
</conditions>
</line>
<line number="24" hits="0" branch="false"/>
<line number="25" hits="9" branch="true" condition-coverage="100% (2/2)">
<conditions>
<condition number="0" type="jump" coverage="100%"/>
</conditions>
</line>
<line number="26" hits="6" branch="false"/>
<line number="28" hits="3" branch="false"/>
<line number="29" hits="9" branch="false"/>
<line number="31" hits="3" branch="false"/>
</lines>
</class>
<class name="search.ISortedArraySearch" filename="search/ISortedArraySearch.java" line-rate="1.0" branch-rate="1.0" complexity="1.0">
<methods>
</methods>
<lines>
</lines>
</class>
<class name="search.LinearSearch" filename="search/LinearSearch.java" line-rate="0.7142857142857143" branch-rate="0.6666666666666666" complexity="6.0">
<methods>
<method name="<init>" signature="()V" line-rate="1.0" branch-rate="1.0">
<lines>
<line number="9" hits="3" branch="false"/>
</lines>
</method>
<method name="find" signature="([II)I" line-rate="0.6666666666666666" branch-rate="0.6666666666666666">
<lines>
<line number="13" hits="9" branch="true" condition-coverage="50% (1/2)">
<conditions>
<condition number="0" type="jump" coverage="50%"/>
</conditions>
</line>
<line number="15" hits="9" branch="true" condition-coverage="100% (2/2)">
<conditions>
<condition number="0" type="jump" coverage="100%"/>
</conditions>
</line>
<line number="16" hits="3" branch="false"/>
<line number="17" hits="6" branch="true" condition-coverage="50% (1/2)">
<conditions>
<condition number="0" type="jump" coverage="50%"/>
</conditions>
</line>
<line number="19" hits="0" branch="false"/>
<line number="24" hits="0" branch="false"/>
</lines>
</method>
</methods>
<lines>
<line number="9" hits="3" branch="false"/>
<line number="13" hits="9" branch="true" condition-coverage="50% (1/2)">
<conditions>
<condition number="0" type="jump" coverage="50%"/>
</conditions>
</line>
<line number="15" hits="9" branch="true" condition-coverage="100% (2/2)">
<conditions>
<condition number="0" type="jump" coverage="100%"/>
</conditions>
</line>
<line number="16" hits="3" branch="false"/>
<line number="17" hits="6" branch="true" condition-coverage="50% (1/2)">
<conditions>
<condition number="0" type="jump" coverage="50%"/>
</conditions>
</line>
<line number="19" hits="0" branch="false"/>
<line number="24" hits="0" branch="false"/>
</lines>
</class>
</classes>
</package>
</packages>
</coverage>