]> source.dussan.org Git - sonarqube.git/blob
0f9517a4adc6014d32e4154f5e82ad7e973750f1
[sonarqube.git] /
1 <?xml version="1.0"?>
2 <!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
3
4 <coverage line-rate="0.37142857142857144" branch-rate="0.25" lines-covered="13" lines-valid="35" branches-covered="1"
5           branches-valid="4" complexity="1.3076923076923077" version="1.9.2" timestamp="1253274062754">
6   <sources>
7     <source>/Users/simon/projects/sonar/trunk/tests/integration/reference-projects/reference/src/main/java</source>
8     <source>--source</source>
9   </sources>
10   <packages>
11     <package name="org.sonar.samples" line-rate="0.37142857142857144" branch-rate="0.25"
12              complexity="1.3076923076923077">
13       <classes>
14         <class name="org.sonar.samples.InnerClass" filename="org/sonar/samples/InnerClass.java"
15                line-rate="0.5384615384615384" branch-rate="0.5" complexity="1.3076923076923077">
16           <methods>
17             <method name="&lt;init&gt;" signature="()V" line-rate="1.0" branch-rate="1.0">
18               <lines>
19                 <line number="22" hits="2" branch="false"/>
20                 <line number="44" hits="2" branch="false"/>
21               </lines>
22             </method>
23             <method name="methodOne" signature="()V" line-rate="0.0" branch-rate="1.0">
24               <lines>
25                 <line number="25" hits="0" branch="false"/>
26                 <line number="26" hits="0" branch="false"/>
27               </lines>
28             </method>
29             <method name="methodReturnThree" signature="()I" line-rate="0.8333333333333334" branch-rate="0.5">
30               <lines>
31                 <line number="34" hits="1" branch="false"/>
32                 <line number="35" hits="1" branch="false"/>
33                 <line number="36" hits="1" branch="true" condition-coverage="50% (1/2)">
34                   <conditions>
35                     <condition number="0" type="jump" coverage="50%"/>
36                   </conditions>
37                 </line>
38                 <line number="37" hits="0" branch="false"/>
39                 <line number="39" hits="1" branch="false"/>
40                 <line number="41" hits="1" branch="false"/>
41               </lines>
42             </method>
43             <method name="methodTwo" signature="()V" line-rate="0.0" branch-rate="1.0">
44               <lines>
45                 <line number="29" hits="0" branch="false"/>
46                 <line number="30" hits="0" branch="false"/>
47                 <line number="31" hits="0" branch="false"/>
48               </lines>
49             </method>
50           </methods>
51           <lines>
52             <line number="22" hits="2" branch="false"/>
53             <line number="25" hits="0" branch="false"/>
54             <line number="26" hits="0" branch="false"/>
55             <line number="29" hits="0" branch="false"/>
56             <line number="30" hits="0" branch="false"/>
57             <line number="31" hits="0" branch="false"/>
58             <line number="34" hits="1" branch="false"/>
59             <line number="35" hits="1" branch="false"/>
60             <line number="36" hits="1" branch="true" condition-coverage="50% (1/2)">
61               <conditions>
62                 <condition number="0" type="jump" coverage="50%"/>
63               </conditions>
64             </line>
65             <line number="37" hits="0" branch="false"/>
66             <line number="39" hits="1" branch="false"/>
67             <line number="41" hits="1" branch="false"/>
68             <line number="44" hits="2" branch="false"/>
69           </lines>
70         </class>
71         <class name="org.sonar.samples.InnerClass$InnerClassInside" filename="org/sonar/samples/InnerClass.java"
72                line-rate="0.2727272727272727" branch-rate="0.0" complexity="1.3076923076923077">
73           <methods>
74             <method name="&lt;init&gt;" signature="(Lorg/sonar/samples/InnerClass;)V" line-rate="1.0" branch-rate="1.0">
75               <lines>
76                 <line number="46" hits="1" branch="false"/>
77                 <line number="47" hits="1" branch="false"/>
78               </lines>
79             </method>
80             <method name="innerMethodOne" signature="()V" line-rate="0.0" branch-rate="0.0">
81               <lines>
82                 <line number="50" hits="0" branch="false"/>
83                 <line number="51" hits="0" branch="false"/>
84                 <line number="52" hits="0" branch="true" condition-coverage="0% (0/2)">
85                   <conditions>
86                     <condition number="0" type="jump" coverage="0%"/>
87                   </conditions>
88                 </line>
89                 <line number="53" hits="0" branch="false"/>
90                 <line number="55" hits="0" branch="false"/>
91                 <line number="57" hits="0" branch="false"/>
92               </lines>
93             </method>
94             <method name="innerMethodTwo" signature="()V" line-rate="0.0" branch-rate="1.0">
95               <lines>
96                 <line number="60" hits="0" branch="false"/>
97                 <line number="61" hits="0" branch="false"/>
98               </lines>
99             </method>
100             <method name="methodReturnFour" signature="()I" line-rate="1.0" branch-rate="1.0">
101               <lines>
102                 <line number="64" hits="1" branch="false"/>
103               </lines>
104             </method>
105           </methods>
106           <lines>
107             <line number="46" hits="1" branch="false"/>
108             <line number="47" hits="1" branch="false"/>
109             <line number="50" hits="0" branch="false"/>
110             <line number="51" hits="0" branch="false"/>
111             <line number="52" hits="0" branch="true" condition-coverage="0% (0/2)">
112               <conditions>
113                 <condition number="0" type="jump" coverage="0%"/>
114               </conditions>
115             </line>
116             <line number="53" hits="0" branch="false"/>
117             <line number="55" hits="0" branch="false"/>
118             <line number="57" hits="0" branch="false"/>
119             <line number="60" hits="0" branch="false"/>
120             <line number="61" hits="0" branch="false"/>
121             <line number="64" hits="1" branch="false"/>
122           </lines>
123         </class>
124         <class name="org.sonar.samples.PrivateClass" filename="org/sonar/samples/InnerClass.java"
125                line-rate="0.2727272727272727" branch-rate="1.0" complexity="1.3076923076923077">
126           <methods>
127             <method name="&lt;init&gt;" signature="()V" line-rate="1.0" branch-rate="1.0">
128               <lines>
129                 <line number="71" hits="1" branch="false"/>
130                 <line number="73" hits="1" branch="false"/>
131               </lines>
132             </method>
133             <method name="innerMethodFive" signature="()V" line-rate="0.0" branch-rate="1.0">
134               <lines>
135                 <line number="85" hits="0" branch="false"/>
136                 <line number="87" hits="0" branch="false"/>
137               </lines>
138             </method>
139             <method name="innerMethodFour" signature="()V" line-rate="0.0" branch-rate="1.0">
140               <lines>
141                 <line number="80" hits="0" branch="false"/>
142                 <line number="81" hits="0" branch="false"/>
143               </lines>
144             </method>
145             <method name="innerMethodSix" signature="()V" line-rate="0.0" branch-rate="1.0">
146               <lines>
147                 <line number="91" hits="0" branch="false"/>
148                 <line number="93" hits="0" branch="false"/>
149               </lines>
150             </method>
151             <method name="innerMethodThree" signature="()V" line-rate="0.0" branch-rate="1.0">
152               <lines>
153                 <line number="76" hits="0" branch="false"/>
154                 <line number="77" hits="0" branch="false"/>
155               </lines>
156             </method>
157             <method name="methodReturnfive" signature="()I" line-rate="1.0" branch-rate="1.0">
158               <lines>
159                 <line number="96" hits="1" branch="false"/>
160               </lines>
161             </method>
162           </methods>
163           <lines>
164             <line number="71" hits="1" branch="false"/>
165             <line number="73" hits="1" branch="false"/>
166             <line number="76" hits="0" branch="false"/>
167             <line number="77" hits="0" branch="false"/>
168             <line number="80" hits="0" branch="false"/>
169             <line number="81" hits="0" branch="false"/>
170             <line number="85" hits="0" branch="false"/>
171             <line number="87" hits="0" branch="false"/>
172             <line number="91" hits="0" branch="false"/>
173             <line number="93" hits="0" branch="false"/>
174             <line number="96" hits="1" branch="false"/>
175           </lines>
176         </class>
177       </classes>
178     </package>
179   </packages>
180 </coverage>