2
<!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
4
<coverage line-rate="0.945" branch-rate="0.785" lines-covered="2506" lines-valid="2651" branches-covered="873" branches-valid="1112" complexity="1.631578947368421" version="1.9.4.1" timestamp="1321536573337">
6
<source>MyProject/src/main/groovy</source>
9
<package name="com.example.model" line-rate="1.0" branch-rate="1.0" complexity="0.0">
11
<class name="com.example.model.Channel" filename="com/example/model/Channel.groovy" line-rate="0.8" branch-rate="0.888" complexity="0.0">
13
<method name="<init>" signature="(Ljava/lang/String;ILjava/lang/String;)V" line-rate="0.9" branch-rate="0.5">
15
<line number="40" hits="4" branch="false"/>
18
<method name="getId" signature="()Ljava/lang/String;" line-rate="0.8" branch-rate="1.0">
20
<line number="17" hits="97" branch="false"/>
23
<method name="parse" signature="(Ljava/lang/String;)Lcom/example/model/Channel;" line-rate="0.7" branch-rate="1.0">
25
<line number="27" hits="7" branch="false"/>
26
<line number="28" hits="7" branch="true" condition-coverage="100% (2/2)">
28
<condition number="0" type="jump" coverage="100%"/>
31
<line number="29" hits="2" branch="false"/>
32
<line number="31" hits="0" branch="false"/>
35
<method name="toString" signature="()Ljava/lang/String;" line-rate="1.0" branch-rate="1.0">
37
<line number="36" hits="6" branch="false"/>
42
<line number="17" hits="97" branch="false"/>
43
<line number="27" hits="7" branch="false"/>
44
<line number="28" hits="7" branch="true" condition-coverage="100% (2/2)">
46
<condition number="0" type="jump" coverage="100%"/>
49
<line number="29" hits="2" branch="false"/>
50
<line number="31" hits="5" branch="false"/>
51
<line number="36" hits="6" branch="false"/>
52
<line number="40" hits="0" branch="false"/>
55
<class name="com.example.model.Channel$_parse_closure1" filename="com/example/model/Channel.groovy" line-rate="1.0" branch-rate="1.0" complexity="0.0">
57
<method name="doCall" signature="(Ljava/lang/Object;)Ljava/lang/Object;" line-rate="1.0" branch-rate="1.0">
59
<line number="27" hits="19" branch="true" condition-coverage="100% (2/2)">
61
<condition number="0" type="jump" coverage="100%"/>
68
<line number="27" hits="19" branch="true" condition-coverage="100% (2/2)">
70
<condition number="0" type="jump" coverage="100%"/>
77
<package name="com.example.service" line-rate="0.85" branch-rate="0.65" complexity="0.0">
79
<class name="com.example.service.ClientMappingDao" filename="com/example/service/ClientMappingDao.groovy" line-rate="1.0" branch-rate="1.0" complexity="0.0">
85
<class name="com.example.service.ClientMappingService" filename="com/example/service/ClientMappingService.groovy" line-rate="1.0" branch-rate="1.0" complexity="0.0">
91
<class name="com.example.service.GenericLookupService" filename="com/example/service/GenericLookupService.groovy" line-rate="1.0" branch-rate="1.0" complexity="0.0">
93
<method name="<clinit>" signature="()V" line-rate="1.0" branch-rate="1.0">
95
<line number="31" hits="1" branch="false"/>
98
<method name="buildReverseLookupMap" signature="(Ljava/util/Map;)Ljava/util/Map;" line-rate="1.0" branch-rate="0.8">
100
<line number="70" hits="4" branch="false"/>
101
<line number="71" hits="4" branch="false"/>
102
<line number="79" hits="4" branch="false"/>
105
<method name="get" signature="()Ljava/util/Map;" line-rate="1.0" branch-rate="0.5">
107
<line number="44" hits="5" branch="true" condition-coverage="100% (2/2)">
109
<condition number="0" type="jump" coverage="100%"/>
112
<line number="45" hits="4" branch="false"/>
113
<line number="46" hits="4" branch="false"/>
116
<method name="getAllEnabledClients" signature="()Ljava/lang/Object;" line-rate="1.0" branch-rate="0.5">
118
<line number="83" hits="4" branch="true" condition-coverage="100% (2/2)">
120
<condition number="0" type="jump" coverage="100%"/>
123
<line number="84" hits="2" branch="false"/>
124
<line number="86" hits="2" branch="false"/>
127
<method name="getMappingToClients" signature="(Ljava/lang/String;Lgroovy/lang/Closure;)Ljava/util/Map;" line-rate="1.0" branch-rate="1.0">
129
<line number="54" hits="4" branch="false"/>
130
<line number="55" hits="4" branch="false"/>
131
<line number="56" hits="4" branch="false"/>
132
<line number="57" hits="4" branch="false"/>
133
<line number="58" hits="4" branch="false"/>
136
<method name="loadDataMapByClient" signature="(Ljava/lang/String;Ljava/util/List;Lgroovy/lang/Closure;)Ljava/util/Map;" line-rate="1.0" branch-rate="1.0">
138
<line number="62" hits="4" branch="false"/>
139
<line number="63" hits="4" branch="false"/>
140
<line number="66" hits="4" branch="false"/>
145
<line number="31" hits="1" branch="false"/>
146
<line number="44" hits="5" branch="true" condition-coverage="100% (2/2)">
148
<condition number="0" type="jump" coverage="100%"/>
151
<line number="45" hits="4" branch="false"/>
152
<line number="46" hits="4" branch="false"/>
153
<line number="54" hits="4" branch="false"/>
154
<line number="55" hits="4" branch="false"/>
155
<line number="56" hits="4" branch="false"/>
156
<line number="57" hits="4" branch="false"/>
157
<line number="58" hits="4" branch="false"/>
158
<line number="62" hits="4" branch="false"/>
159
<line number="63" hits="4" branch="false"/>
160
<line number="66" hits="4" branch="false"/>
161
<line number="70" hits="4" branch="false"/>
162
<line number="71" hits="4" branch="false"/>
163
<line number="79" hits="4" branch="false"/>
164
<line number="83" hits="4" branch="true" condition-coverage="100% (2/2)">
166
<condition number="0" type="jump" coverage="100%"/>
169
<line number="84" hits="2" branch="false"/>
170
<line number="86" hits="2" branch="false"/>
173
<class name="com.example.service.GenericLookupService$_buildReverseLookupMap_closure3" filename="com/example/service/GenericLookupService.groovy" line-rate="1.0" branch-rate="1.0" complexity="0.0">
175
<method name="doCall" signature="(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;" line-rate="1.0" branch-rate="1.0">
177
<line number="72" hits="10" branch="false"/>
182
<line number="72" hits="10" branch="false"/>
185
<class name="com.example.service.GenericLookupService$_buildReverseLookupMap_closure3_closure4" filename="com/example/service/GenericLookupService.groovy" line-rate="1.0" branch-rate="1.0" complexity="0.0">
187
<method name="doCall" signature="(Ljava/lang/Object;)Ljava/lang/Object;" line-rate="1.0" branch-rate="1.0">
189
<line number="73" hits="13" branch="true" condition-coverage="100% (2/2)">
191
<condition number="0" type="jump" coverage="100%"/>
194
<line number="74" hits="10" branch="false"/>
195
<line number="76" hits="13" branch="false"/>
200
<line number="73" hits="13" branch="true" condition-coverage="100% (1/2)">
202
<condition number="0" type="jump" coverage="50%"/>
205
<line number="74" hits="10" branch="false"/>
206
<line number="76" hits="13" branch="false"/>
209
<class name="com.example.service.GenericLookupService$_get_closure1" filename="com/example/service/GenericLookupService.groovy" line-rate="1.0" branch-rate="1.0" complexity="0.0">
211
<method name="doCall" signature="(Ljava/lang/Object;)Ljava/lang/Object;" line-rate="1.0" branch-rate="1.0">
213
<line number="45" hits="10" branch="false"/>
218
<line number="45" hits="10" branch="false"/>
221
<class name="com.example.service.GenericLookupService$_loadDataMapByClient_closure2" filename="com/example/service/GenericLookupService.groovy" line-rate="1.0" branch-rate="1.0" complexity="0.0">
223
<method name="doCall" signature="(Ljava/lang/Object;)Ljava/lang/Object;" line-rate="1.0" branch-rate="1.0">
225
<line number="64" hits="10" branch="false"/>
230
<line number="64" hits="10" branch="false"/>
233
<class name="com.example.service.GroovySqlClientMappingDao" filename="com/example/service/GroovySqlClientMappingDao.groovy" line-rate="1.0" branch-rate="1.0" complexity="0.0">
235
<method name="getBobGroupIds" signature="()Ljava/util/List;" line-rate="1.0" branch-rate="1.0">
237
<line number="17" hits="1" branch="false"/>
238
<line number="18" hits="1" branch="false"/>
239
<line number="19" hits="1" branch="false"/>
242
<method name="getPlanIds" signature="()Ljava/util/List;" line-rate="1.0" branch-rate="1.0">
244
<line number="23" hits="1" branch="false"/>
245
<line number="24" hits="1" branch="false"/>
246
<line number="25" hits="1" branch="false"/>
251
<line number="17" hits="1" branch="false"/>
252
<line number="18" hits="1" branch="false"/>
253
<line number="19" hits="1" branch="false"/>
254
<line number="23" hits="1" branch="false"/>
255
<line number="24" hits="1" branch="false"/>
256
<line number="25" hits="1" branch="false"/>
259
<class name="com.example.service.GroovySqlClientMappingDao$_getBobGroupIds_closure1" filename="com/example/service/GroovySqlClientMappingDao.groovy" line-rate="1.0" branch-rate="1.0" complexity="0.0">
261
<method name="doCall" signature="(Ljava/lang/Object;)Ljava/lang/Object;" line-rate="1.0" branch-rate="1.0">
263
<line number="18" hits="1" branch="false"/>
268
<line number="18" hits="1" branch="false"/>
271
<class name="com.example.service.GroovySqlClientMappingDao$_getBobGroupIds_closure2" filename="com/example/service/GroovySqlClientMappingDao.groovy" line-rate="1.0" branch-rate="1.0" complexity="0.0">
273
<method name="doCall" signature="(Ljava/lang/Object;)Ljava/lang/Object;" line-rate="1.0" branch-rate="1.0">
275
<line number="19" hits="30" branch="false"/>
280
<line number="19" hits="30" branch="false"/>
283
<class name="com.example.service.GroovySqlClientMappingDao$_getPlanIds_closure3" filename="com/example/service/GroovySqlClientMappingDao.groovy" line-rate="1.0" branch-rate="1.0" complexity="0.0">
285
<method name="doCall" signature="(Ljava/lang/Object;)Ljava/lang/Object;" line-rate="1.0" branch-rate="1.0">
287
<line number="24" hits="1" branch="false"/>
292
<line number="24" hits="1" branch="false"/>
295
<class name="com.example.service.GroovySqlClientMappingDao$_getPlanIds_closure4" filename="com/example/service/GroovySqlClientMappingDao.groovy" line-rate="1.0" branch-rate="1.0" complexity="0.0">
297
<method name="doCall" signature="(Ljava/lang/Object;)Ljava/lang/Object;" line-rate="1.0" branch-rate="1.0">
299
<line number="25" hits="343" branch="false"/>
304
<line number="25" hits="343" branch="false"/>
307
<class name="com.example.service.Email" filename="com/example/service/Email.groovy" line-rate="0.66" branch-rate="0.61" complexity="0.0">
309
<method name="toString" signature="()Ljava/lang/String;" line-rate="0.99" branch-rate="0.91">
311
<line number="26" hits="1538" branch="false"/>
312
<line number="27" hits="780" branch="true" condition-coverage="25% (1/4)">
314
<condition number="0" type="jump" coverage="50%"/>
315
<condition number="1" type="jump" coverage="0%"/>
318
<line number="27" hits="1538" branch="false"/>
323
<line number="26" hits="1538" branch="false"/>
324
<line number="27" hits="13" branch="true" condition-coverage="100% (1/2)">
326
<condition number="0" type="jump" coverage="50%"/>
332
<class name="com.example.service.Context" filename="com/example/service/Context.java" line-rate="0.11" branch-rate="0.31" complexity="1.0">
334
<method name="<init>" signature="(Ljava/util/Collection;)V" line-rate="0.22" branch-rate="0.32">
336
<line number="22" hits="13" branch="false"/>
337
<line number="24" hits="13" branch="false"/>
338
<line number="25" hits="13" branch="false"/>
339
<line number="26" hits="13" branch="false"/>
340
<line number="27" hits="13" branch="false"/>
341
<line number="28" hits="13" branch="false"/>
346
<line number="22" hits="13" branch="false"/>
347
<line number="24" hits="13" branch="false"/>
348
<line number="25" hits="13" branch="false"/>
349
<line number="26" hits="13" branch="false"/>
350
<line number="27" hits="13" branch="false"/>
351
<line number="28" hits="13" branch="false"/>
355
<class name="com.example.service.MyException" filename="com/example/service/MyException.java" line-rate="0.66" branch-rate="0.61" complexity="1.0">
357
<method name="<init>" signature="(Ljava/lang/String;)V" line-rate="0.3" branch-rate="0.35">
359
<line number="18" hits="94" branch="false"/>
360
<line number="19" hits="94" branch="false"/>
363
<method name="<init>" signature="(Ljava/lang/String;Ljava/lang/String;)V" line-rate="0.4" branch-rate="0.45">
365
<line number="22" hits="10" branch="false"/>
366
<line number="23" hits="10" branch="false"/>
367
<line number="24" hits="10" branch="false"/>
370
<method name="<init>" signature="(Ljava/lang/String;Ljava/lang/Throwable;)V" line-rate="0.5" branch-rate="0.55">
372
<line number="31" hits="0" branch="false"/>
373
<line number="32" hits="0" branch="false"/>
376
<method name="<init>" signature="(Ljava/lang/Throwable;)V" line-rate="0.6" branch-rate="0.65">
378
<line number="27" hits="2" branch="false"/>
379
<line number="28" hits="2" branch="false"/>
382
<method name="getCode" signature="()Ljava/lang/String;" line-rate="1.0" branch-rate="1.0">
384
<line number="35" hits="2" branch="false"/>
387
<method name="setCode" signature="(Ljava/lang/String;)V" line-rate="0.0" branch-rate="1.0">
389
<line number="38" hits="0" branch="false"/>
390
<line number="39" hits="0" branch="false"/>
395
<line number="18" hits="94" branch="false"/>
396
<line number="19" hits="94" branch="false"/>
397
<line number="22" hits="10" branch="false"/>
398
<line number="23" hits="10" branch="false"/>
399
<line number="24" hits="10" branch="false"/>
400
<line number="27" hits="2" branch="false"/>
401
<line number="28" hits="2" branch="false"/>
402
<line number="31" hits="0" branch="false"/>
403
<line number="32" hits="0" branch="false"/>
404
<line number="35" hits="2" branch="false"/>
405
<line number="38" hits="0" branch="false"/>
406
<line number="39" hits="0" branch="false"/>