2 <metrics id="1" name="lines" val_type="FLOAT" description="Lines" domain="Size"
3 short_name="Lines" qualitative="[false]" user_managed="[false]" enabled="[true]" origin="JAV" worst_value="[null]"
4 optimized_best_value="[null]" best_value="[null]" direction="1" hidden="[false]"
5 delete_historical_data="[null]"/>
7 <metrics id="2" name="profile" val_type="STRING" description="Profile" domain="Rules"
8 short_name="Profile" qualitative="[false]" user_managed="[false]" enabled="[true]" origin="JAV"
10 optimized_best_value="[null]" best_value="[null]" direction="0" hidden="[false]"
11 delete_historical_data="[null]"/>
13 <metrics id="3" name="coverage" val_type="FLOAT" description="Coverage" domain="Test"
14 short_name="Coverage" qualitative="[true]" user_managed="[false]" enabled="[true]" origin="JAV"
16 optimized_best_value="[true]" best_value="100" direction="1" hidden="[false]"
17 delete_historical_data="[null]"/>
19 <metrics id="4" name="unknown" val_type="FLOAT" description="Coverage" domain="Test"
20 short_name="Unknown" qualitative="[true]" user_managed="[false]" enabled="[true]" origin="JAV"
22 optimized_best_value="[true]" best_value="100" direction="1" hidden="[false]"
23 delete_historical_data="[null]"/>
26 <projects kee="java_project" long_name="Java project" scope="PRJ" qualifier="TRK" name="Java project"
27 id="1" root_id="[null]" uuid="ABCD"
28 description="[null]" enabled="[true]" language="[null]" copy_resource_id="[null]" person_id="[null]"
29 created_at="2008-12-19 00:00:00.00"/>
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_id="1" uuid="BCDE"
33 description="[null]" enabled="[true]" language="[null]" copy_resource_id="[null]" person_id="[null]"
34 created_at="2008-12-19 00:00:00.00"/>
36 <projects kee="java_project:org.sonar.foo.Big" scope="FIL" qualifier="CLA" long_name="org.sonar.foo.Big"
38 id="3" root_id="1" uuid="CDEF"
39 description="[null]" enabled="[true]" language="java" copy_resource_id="[null]" person_id="[null]"
40 created_at="2008-12-19 00:00:00.00"/>
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_id="1" uuid="DEFG"
44 description="[null]" enabled="[true]" language="java" copy_resource_id="[null]" person_id="[null]"
45 created_at="2008-12-19 00:00:00.00"/>
47 <snapshots id="101" project_id="1" root_project_id="1" root_snapshot_id="[null]" parent_snapshot_id="[null]"
48 scope="PRJ" qualifier="TRK" path="" depth="0"
49 purge_status="[null]" period1_mode="[null]" period1_param="[null]" period1_date="[null]"
50 period2_mode="[null]" period2_param="[null]" period2_date="[null]" period3_mode="[null]"
51 period3_param="[null]" period3_date="[null]" period4_mode="[null]" period4_param="[null]"
52 period4_date="[null]" period5_mode="[null]" period5_param="[null]" period5_date="[null]"
53 created_at="2008-12-20 00:00:00.00" build_date="2008-12-20 00:00:00.00"
54 version="1.0" status="P" islast="[true]"/>
56 <snapshots id="102" project_id="2" root_project_id="1" root_snapshot_id="101" parent_snapshot_id="101"
57 scope="DIR" qualifier="PAC" path="101." depth="1"
58 purge_status="[null]" period1_mode="[null]" period1_param="[null]" period1_date="[null]"
59 period2_mode="[null]" period2_param="[null]" period2_date="[null]" period3_mode="[null]"
60 period3_param="[null]" period3_date="[null]" period4_mode="[null]" period4_param="[null]"
61 period4_date="[null]" period5_mode="[null]" period5_param="[null]" period5_date="[null]"
62 created_at="2008-12-20 00:00:00.00" build_date="2008-12-20 00:00:00.00"
63 version="1.0" status="P" islast="[true]"/>
65 <snapshots id="103" project_id="3" root_project_id="1" root_snapshot_id="101" parent_snapshot_id="102"
66 scope="FIL" qualifier="CLA" path="101.102." depth="2"
67 purge_status="[null]" period1_mode="[null]" period1_param="[null]" period1_date="[null]"
68 period2_mode="[null]" period2_param="[null]" period2_date="[null]" period3_mode="[null]"
69 period3_param="[null]" period3_date="[null]" period4_mode="[null]" period4_param="[null]"
70 period4_date="[null]" period5_mode="[null]" period5_param="[null]" period5_date="[null]"
71 created_at="2008-12-20 00:00:00.00" build_date="2008-12-20 00:00:00.00"
72 version="1.0" status="P" islast="[true]"/>
74 <snapshots id="104" project_id="4" root_project_id="1" root_snapshot_id="101" parent_snapshot_id="102"
75 scope="FIL" qualifier="CLA" path="101.102." depth="2"
76 purge_status="[null]" period1_mode="[null]" period1_param="[null]" period1_date="[null]"
77 period2_mode="[null]" period2_param="[null]" period2_date="[null]" period3_mode="[null]"
78 period3_param="[null]" period3_date="[null]" period4_mode="[null]" period4_param="[null]"
79 period4_date="[null]" period5_mode="[null]" period5_param="[null]" period5_date="[null]"
80 created_at="2008-12-20 00:00:00.00" build_date="2008-12-20 00:00:00.00"
81 version="1.0" status="P" islast="[true]"/>
84 <!-- lines, variation during period 5 -->
85 <project_measures id="1001" metric_id="1" value="510" snapshot_id="101"
86 url="[null]" variation_value_1="[null]" variation_value_2="[null]" variation_value_3="[null]"
87 variation_value_4="[null]" variation_value_5="400"
88 rule_priority="[null]" alert_text="[null]" RULES_CATEGORY_ID="[null]"
89 RULE_ID="[null]" text_value="[null]" tendency="[null]" measure_date="[null]" project_id="[null]"
90 alert_status="[null]" description="[null]" characteristic_id="[null]"/>
92 <project_measures id="1002" metric_id="1" value="510" snapshot_id="102"
93 url="[null]" variation_value_1="[null]" variation_value_2="[null]" variation_value_3="[null]"
94 variation_value_4="[null]" variation_value_5="[null]"
95 rule_priority="[null]" alert_text="[null]" RULES_CATEGORY_ID="[null]"
96 RULE_ID="[null]" text_value="[null]" tendency="[null]" measure_date="[null]" project_id="[null]"
97 alert_status="[null]" description="[null]" characteristic_id="[null]"/>
99 <project_measures id="1003" metric_id="1" value="500" snapshot_id="103"
100 url="[null]" variation_value_1="[null]" variation_value_2="[null]" variation_value_3="[null]"
101 variation_value_4="[null]" variation_value_5="[null]"
102 rule_priority="[null]" alert_text="[null]" RULES_CATEGORY_ID="[null]"
103 RULE_ID="[null]" text_value="[null]" tendency="[null]" measure_date="[null]" project_id="[null]"
104 alert_status="[null]" description="[null]" characteristic_id="[null]"/>
106 <project_measures id="1004" metric_id="1" value="10" snapshot_id="104"
107 url="[null]" variation_value_1="[null]" variation_value_2="[null]" variation_value_3="[null]"
108 variation_value_4="[null]" variation_value_5="[null]"
109 rule_priority="[null]" alert_text="[null]" RULES_CATEGORY_ID="[null]"
110 RULE_ID="[null]" text_value="[null]" tendency="[null]" measure_date="[null]" project_id="[null]"
111 alert_status="[null]" description="[null]" characteristic_id="[null]"/>
113 <!-- profile of java project -->
114 <project_measures id="1005" metric_id="2" value="[null]" snapshot_id="101"
115 url="[null]" variation_value_1="[null]" variation_value_2="[null]" variation_value_3="[null]"
116 variation_value_4="[null]" variation_value_5="[null]"
117 rule_priority="[null]" alert_text="[null]" RULES_CATEGORY_ID="[null]"
118 RULE_ID="[null]" text_value="Sonar way" tendency="[null]" measure_date="[null]" project_id="[null]"
119 alert_status="[null]" description="[null]" characteristic_id="[null]"/>
121 <!-- coverage of java project -->
122 <project_measures id="1006" metric_id="3" value="12.3" snapshot_id="101"
123 url="[null]" variation_value_1="[null]" variation_value_2="[null]" variation_value_3="[null]"
124 variation_value_4="[null]" variation_value_5="[null]"
125 rule_priority="[null]" alert_text="[null]" RULES_CATEGORY_ID="[null]"
126 RULE_ID="[null]" text_value="Sonar way" tendency="[null]" measure_date="[null]" project_id="[null]"
127 alert_status="[null]" description="[null]" characteristic_id="[null]"/>
130 <projects kee="php_project" long_name="PHP project" scope="PRJ" qualifier="TRK" name="PHP project"
131 id="10" root_id="[null]" uuid="EFGH"
132 description="[null]" enabled="[true]" language="[null]" copy_resource_id="[null]" person_id="[null]"
133 created_at="2012-12-12 04:06:00.00"/>
136 <snapshots id="110" project_id="10" root_project_id="10" root_snapshot_id="[null]" parent_snapshot_id="[null]"
137 scope="PRJ" qualifier="TRK" path="" depth="0"
138 purge_status="[null]" period1_mode="[null]" period1_param="[null]" period1_date="[null]"
139 period2_mode="[null]" period2_param="[null]" period2_date="[null]" period3_mode="[null]"
140 period3_param="[null]" period3_date="[null]" period4_mode="[null]" period4_param="[null]"
141 period4_date="[null]" period5_mode="[null]" period5_param="[null]" period5_date="[null]"
142 created_at="2012-12-13 04:06:00.00" build_date="2012-12-13 04:06:00.00"
143 version="3.0" status="P" islast="[true]"/>
145 <!-- lines, many new lines during period 5 -->
146 <project_measures id="1010" metric_id="1" value="5000" snapshot_id="110"
147 url="[null]" variation_value_1="[null]" variation_value_2="[null]" variation_value_3="[null]"
148 variation_value_4="[null]" variation_value_5="4900"
149 rule_priority="[null]" alert_text="[null]" RULES_CATEGORY_ID="[null]"
150 RULE_ID="[null]" text_value="[null]" tendency="[null]" measure_date="[null]" project_id="[null]"
151 alert_status="[null]" description="[null]" characteristic_id="[null]"/>
153 <project_measures id="1011" metric_id="2" value="[null]" snapshot_id="110"
154 url="[null]" variation_value_1="[null]" variation_value_2="[null]" variation_value_3="[null]"
155 variation_value_4="[null]" variation_value_5="[null]"
156 rule_priority="[null]" alert_text="[null]" RULES_CATEGORY_ID="[null]"
157 RULE_ID="[null]" text_value="php way" tendency="[null]" measure_date="[null]" project_id="[null]"
158 alert_status="[null]" description="[null]" characteristic_id="[null]"/>
161 <resource_index id="1" kee="java project" position="0" name_size="12" resource_id="1" root_project_id="1" qualifier="TRK"/>
162 <resource_index id="2" kee="java projec" position="1" name_size="12" resource_id="1" root_project_id="1" qualifier="TRK"/>
163 <resource_index id="3" kee="java proje" position="2" name_size="12" resource_id="1" root_project_id="1" qualifier="TRK"/>
164 <resource_index id="4" kee="java proj" position="3" name_size="12" resource_id="1" root_project_id="1" qualifier="TRK"/>
166 <resource_index id="5" kee="php project" position="0" name_size="11" resource_id="10" root_project_id="10" qualifier="TRK"/>
167 <resource_index id="6" kee="php projec" position="1" name_size="11" resource_id="10" root_project_id="10" qualifier="TRK"/>
168 <resource_index id="7" kee="php proje" position="2" name_size="11" resource_id="10" root_project_id="10" qualifier="TRK"/>
169 <resource_index id="8" kee="php proj" position="3" name_size="11" resource_id="10" root_project_id="10" qualifier="TRK"/>
173 <!-- two favourites : Big.java and PHP project -->
174 <properties id="1" prop_key="favourite" resource_id="3" text_value="[null]" user_id="50"/>
175 <properties id="2" prop_key="favourite" resource_id="10" text_value="[null]" user_id="50"/>
177 <!-- another properties -->
178 <properties id="3" prop_key="favourite" resource_id="1" text_value="[null]" user_id="1234"/>
179 <properties id="4" prop_key="sonar.profile" resource_id="1" text_value="Sonar way" user_id="[null]"/>