]> source.dussan.org Git - sonarqube.git/blob
0cbb579a2541f65e013e79f5c667205d79f5879b
[sonarqube.git] /
1 <dataset>
2   <metrics id="1" name="lines" val_type="FLOAT" description="Lines" domain="Size"
3            short_name="Lines" qualitative="[false]" user_managed="[false]" enabled="[true]"  worst_value="[null]"
4            optimized_best_value="[null]" best_value="[null]" direction="1" hidden="[false]"
5            delete_historical_data="[null]"/>
6
7   <metrics id="2" name="profile" val_type="STRING" description="Profile" domain="Rules"
8            short_name="Profile" qualitative="[false]" user_managed="[false]" enabled="[true]" 
9            worst_value="[null]"
10            optimized_best_value="[null]" best_value="[null]" direction="0" hidden="[false]"
11            delete_historical_data="[null]"/>
12
13   <metrics id="3" name="coverage" val_type="FLOAT" description="Coverage" domain="Test"
14            short_name="Coverage" qualitative="[true]" user_managed="[false]" enabled="[true]" 
15            worst_value="[null]"
16            optimized_best_value="[true]" best_value="100" direction="1" hidden="[false]"
17            delete_historical_data="[null]"/>
18
19   <metrics id="4" name="unknown" val_type="FLOAT" description="Coverage" domain="Test"
20              short_name="Unknown" qualitative="[true]" user_managed="[false]" enabled="[true]" 
21              worst_value="[null]"
22              optimized_best_value="[true]" best_value="100" direction="1" hidden="[false]"
23              delete_historical_data="[null]"/>
24
25   <!-- java project -->
26   <projects kee="java_project" long_name="Java project" scope="PRJ" qualifier="TRK" name="Java project"
27             id="1" root_uuid="UUID_JAVA_PROJECT" uuid="UUID_JAVA_PROJECT" project_uuid="UUID_JAVA_PROJECT"
28             description="[null]" enabled="[true]" language="[null]" 
29             created_at="2008-12-19 00:00:00.00"/>
30
31   <projects kee="java_project:org.sonar.foo" scope="DIR" qualifier="PAC" long_name="org.sonar.foo" name="org.sonar.foo"
32             id="2" root_uuid="UUID_JAVA_PROJECT" uuid="BCDE" project_uuid="UUID_JAVA_PROJECT"
33             description="[null]" enabled="[true]" language="[null]" 
34             created_at="2008-12-19 00:00:00.00"/>
35
36   <projects kee="java_project:org.sonar.foo.Big" scope="FIL" qualifier="CLA" long_name="org.sonar.foo.Big"
37             name="Big"
38             id="3" root_uuid="UUID_JAVA_PROJECT" uuid="CDEF" project_uuid="UUID_JAVA_PROJECT"
39             description="[null]" enabled="[true]" language="java" 
40             created_at="2008-12-19 00:00:00.00"/>
41
42   <projects kee="java_project:org.sonar.foo.Tiny" scope="FIL" qualifier="CLA" long_name="org.sonar.foo.Tiny" name="Tiny"
43             id="4" root_uuid="UUID_JAVA_PROJECT" uuid="DEFG" project_uuid="UUID_JAVA_PROJECT"
44             description="[null]" enabled="[true]" language="java" 
45             created_at="2008-12-19 00:00:00.00"/>
46
47   <snapshots id="101" component_uuid="UUID_JAVA_PROJECT" root_component_uuid="UUID_JAVA_PROJECT"
48              root_snapshot_id="[null]" parent_snapshot_id="[null]"
49              scope="PRJ" qualifier="TRK" path="" depth="0"
50              purge_status="[null]" period1_mode="[null]" period1_param="[null]" period1_date="[null]"
51              period2_mode="[null]" period2_param="[null]" period2_date="[null]" period3_mode="[null]"
52              period3_param="[null]" period3_date="[null]" period4_mode="[null]" period4_param="[null]"
53              period4_date="[null]" period5_mode="[null]" period5_param="[null]" period5_date="[null]"
54              created_at="1229727600000" build_date="1229727600000"
55              version="1.0" status="P" islast="[true]"/>
56
57   <snapshots id="102" component_uuid="BCDE" root_component_uuid="UUID_JAVA_PROJECT" root_snapshot_id="101"
58              parent_snapshot_id="101"
59              scope="DIR" qualifier="PAC" path="101." depth="1"
60              purge_status="[null]" period1_mode="[null]" period1_param="[null]" period1_date="[null]"
61              period2_mode="[null]" period2_param="[null]" period2_date="[null]" period3_mode="[null]"
62              period3_param="[null]" period3_date="[null]" period4_mode="[null]" period4_param="[null]"
63              period4_date="[null]" period5_mode="[null]" period5_param="[null]" period5_date="[null]"
64              created_at="1229727600000" build_date="1229727600000"
65              version="1.0" status="P" islast="[true]"/>
66
67   <snapshots id="103" component_uuid="CDEF" root_component_uuid="UUID_JAVA_PROJECT" root_snapshot_id="101"
68              parent_snapshot_id="102"
69              scope="FIL" qualifier="CLA" path="101.102." depth="2"
70              purge_status="[null]" period1_mode="[null]" period1_param="[null]" period1_date="[null]"
71              period2_mode="[null]" period2_param="[null]" period2_date="[null]" period3_mode="[null]"
72              period3_param="[null]" period3_date="[null]" period4_mode="[null]" period4_param="[null]"
73              period4_date="[null]" period5_mode="[null]" period5_param="[null]" period5_date="[null]"
74              created_at="1229727600000" build_date="1229727600000"
75              version="1.0" status="P" islast="[true]"/>
76
77   <snapshots id="104" component_uuid="DEFG" root_component_uuid="UUID_JAVA_PROJECT" root_snapshot_id="101"
78              parent_snapshot_id="102"
79              scope="FIL" qualifier="CLA" path="101.102." depth="2"
80              purge_status="[null]" period1_mode="[null]" period1_param="[null]" period1_date="[null]"
81              period2_mode="[null]" period2_param="[null]" period2_date="[null]" period3_mode="[null]"
82              period3_param="[null]" period3_date="[null]" period4_mode="[null]" period4_param="[null]"
83              period4_date="[null]" period5_mode="[null]" period5_param="[null]" period5_date="[null]"
84              created_at="1229727600000" build_date="1229727600000"
85              version="1.0" status="P" islast="[true]"/>
86
87
88   <!-- lines, variation during period 5 -->
89   <project_measures id="1001" metric_id="1" value="510" snapshot_id="101"
90                     variation_value_1="[null]" variation_value_2="[null]" variation_value_3="[null]"
91                     variation_value_4="[null]" variation_value_5="400"
92                     alert_text="[null]"
93                     text_value="[null]" component_uuid="ABCD"
94                     alert_status="[null]" description="[null]"/>
95
96   <project_measures id="1002" metric_id="1" value="510" snapshot_id="102"
97                     variation_value_1="[null]" variation_value_2="[null]" variation_value_3="[null]"
98                     variation_value_4="[null]" variation_value_5="[null]"
99                     alert_text="[null]"
100                     text_value="[null]"
101                     alert_status="[null]" description="[null]"
102                     component_uuid="BCDE" />
103
104   <project_measures id="1003" metric_id="1" value="500" snapshot_id="103"
105                     variation_value_1="[null]" variation_value_2="[null]" variation_value_3="[null]"
106                     variation_value_4="[null]" variation_value_5="[null]"
107                     alert_text="[null]"
108                     text_value="[null]"
109                     alert_status="[null]" description="[null]"
110                     component_uuid="CDEF" />
111
112   <project_measures id="1004" metric_id="1" value="10" snapshot_id="104"
113                     variation_value_1="[null]" variation_value_2="[null]" variation_value_3="[null]"
114                     variation_value_4="[null]" variation_value_5="[null]"
115                     alert_text="[null]"
116                     text_value="[null]"
117                     alert_status="[null]" description="[null]"
118                     component_uuid="DEFG"/>
119
120   <!-- profile of java project -->
121   <project_measures id="1005" metric_id="2" value="[null]" snapshot_id="101"
122                     variation_value_1="[null]" variation_value_2="[null]" variation_value_3="[null]"
123                     variation_value_4="[null]" variation_value_5="[null]"
124                     alert_text="[null]"
125                     text_value="Sonar way"
126                     component_uuid="ABCD"
127                     alert_status="[null]" description="[null]"/>
128
129   <!-- coverage of java project -->
130   <project_measures id="1006" metric_id="3" value="12.3" snapshot_id="101"
131                     variation_value_1="[null]" variation_value_2="[null]" variation_value_3="[null]"
132                       variation_value_4="[null]" variation_value_5="[null]"
133                     alert_text="[null]"
134                     text_value="Sonar way"
135                     component_uuid="ABCD"
136                     alert_status="[null]" description="[null]"/>
137
138   <!-- php project -->
139   <projects kee="php_project" long_name="PHP project" scope="PRJ" qualifier="TRK" name="PHP project"
140             id="10" root_uuid="UUID_JAVA_PROJECT" uuid="UUID_PHP_PROJECT" project_uuid="UUID_PHP_PROJECT"
141             description="[null]" enabled="[true]" language="[null]" 
142             created_at="2012-12-12 04:06:00.00"/>
143
144
145   <snapshots id="110" component_uuid="UUID_PHP_PROJECT" root_component_uuid="UUID_PHP_PROJECT" root_snapshot_id="[null]"
146              parent_snapshot_id="[null]"
147              scope="PRJ" qualifier="TRK" path="" depth="0"
148              purge_status="[null]" period1_mode="[null]" period1_param="[null]" period1_date="[null]"
149              period2_mode="[null]" period2_param="[null]" period2_date="[null]" period3_mode="[null]"
150              period3_param="[null]" period3_date="[null]" period4_mode="[null]" period4_param="[null]"
151              period4_date="[null]" period5_mode="[null]" period5_param="[null]" period5_date="[null]"
152              created_at="1355367960000" build_date="1355367960000"
153              version="3.0" status="P" islast="[true]"/>
154
155   <!-- lines, many new lines during period 5 -->
156   <project_measures id="1010" metric_id="1" value="5000" snapshot_id="110"
157                     variation_value_1="[null]" variation_value_2="[null]" variation_value_3="[null]"
158                     variation_value_4="[null]" variation_value_5="4900"
159                     alert_text="[null]"
160                     text_value="[null]"
161                     component_uuid="EFGH"
162                     alert_status="[null]" description="[null]"/>
163
164   <project_measures id="1011" metric_id="2" value="[null]" snapshot_id="110"
165                     variation_value_1="[null]" variation_value_2="[null]" variation_value_3="[null]"
166                     variation_value_4="[null]" variation_value_5="[null]"
167                     alert_text="[null]"
168                     text_value="php way"
169                     component_uuid="EFGH"
170                     alert_status="[null]" description="[null]"/>
171
172
173   <resource_index id="1" kee="java project" position="0" name_size="12" component_uuid="UUID_JAVA_PROJECT"
174                   root_component_uuid="UUID_JAVA_PROJECT" qualifier="TRK"/>
175   <resource_index id="2" kee="java projec" position="1" name_size="12" component_uuid="UUID_JAVA_PROJECT"
176                   root_component_uuid="UUID_JAVA_PROJECT" qualifier="TRK"/>
177   <resource_index id="3" kee="java proje" position="2" name_size="12" component_uuid="UUID_JAVA_PROJECT"
178                   root_component_uuid="UUID_JAVA_PROJECT" qualifier="TRK"/>
179   <resource_index id="4" kee="java proj" position="3" name_size="12" component_uuid="UUID_JAVA_PROJECT"
180                   root_component_uuid="UUID_JAVA_PROJECT" qualifier="TRK"/>
181   <!-- etc -->
182   <resource_index id="5" kee="php project" position="0" name_size="11" component_uuid="UUID_PHP_PROJECT"
183                   root_component_uuid="UUID_PHP_PROJECT" qualifier="TRK"/>
184   <resource_index id="6" kee="php projec" position="1" name_size="11" component_uuid="UUID_PHP_PROJECT"
185                   root_component_uuid="UUID_PHP_PROJECT" qualifier="TRK"/>
186   <resource_index id="7" kee="php proje" position="2" name_size="11" component_uuid="UUID_PHP_PROJECT"
187                   root_component_uuid="UUID_PHP_PROJECT" qualifier="TRK"/>
188   <resource_index id="8" kee="php proj" position="3" name_size="11" component_uuid="UUID_PHP_PROJECT"
189                   root_component_uuid="UUID_PHP_PROJECT" qualifier="TRK"/>
190   <!-- etc -->
191
192
193   <!-- two favourites : Big.java and PHP project -->
194   <properties id="1" prop_key="favourite" resource_id="3" text_value="[null]" user_id="50"/>
195   <properties id="2" prop_key="favourite" resource_id="10" text_value="[null]" user_id="50"/>
196
197   <!-- another properties -->
198   <properties id="3" prop_key="favourite" resource_id="1" text_value="[null]" user_id="1234"/>
199   <properties id="4" prop_key="sonar.profile" resource_id="1" text_value="Sonar way" user_id="[null]"/>
200
201 </dataset>