@@ -196,11 +196,10 @@ MTMatrix >> failuresFor: aMutation andTestClass: aTestClass [
196
196
]
197
197
198
198
{ #category : ' rendering' }
199
- MTMatrix >> generateHeatmap [
199
+ MTMatrix >> generateHeatmapWithMutationsGroupedBy: aBlock [
200
200
201
201
| heatmap mutationDictionary testDictionary |
202
- mutationDictionary := mutations groupedBy: [ :mutation |
203
- mutation operator species ].
202
+ mutationDictionary := mutations groupedBy: aBlock.
204
203
testDictionary := testCases groupedBy: #testCaseClass .
205
204
206
205
heatmap := self initializeHeatmap.
@@ -216,6 +215,27 @@ MTMatrix >> generateHeatmap [
216
215
heatmap open
217
216
]
218
217
218
+ { #category : ' rendering' }
219
+ MTMatrix >> generateHeatmapWithMutationsGroupedByClass [
220
+
221
+ self generateHeatmapWithMutationsGroupedBy: [ :mutation |
222
+ mutation originalClass ]
223
+ ]
224
+
225
+ { #category : ' rendering' }
226
+ MTMatrix >> generateHeatmapWithMutationsGroupedByMethod [
227
+
228
+ self generateHeatmapWithMutationsGroupedBy: [ :mutation |
229
+ mutation originalMethod name ]
230
+ ]
231
+
232
+ { #category : ' rendering' }
233
+ MTMatrix >> generateHeatmapWithMutationsGroupedByOperator [
234
+
235
+ self generateHeatmapWithMutationsGroupedBy: [ :mutation |
236
+ mutation operator species ]
237
+ ]
238
+
219
239
{ #category : ' rendering' }
220
240
MTMatrix >> generateMatrix [
221
241
0 commit comments