Skip to content

Commit 8f99e03

Browse files
authored
Merge pull request #128 from DurieuxPol/fixes
Mutant selection strategies more easily accessible and method rename
2 parents a2dafd2 + c9594dd commit 8f99e03

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

src/MuTalk-Model/MTAnalysis.class.st

+14-2
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ MTAnalysis >> generateCoverageAnalysis [
137137
MTAnalysis >> generateMutations [
138138

139139
^ mutations ifNil: [
140-
logger logStartMutationGeneration: self methodSize.
140+
logger logStartMutationGeneration: self methodsCount.
141141
mutations := mutantGenerationStrategy
142142
mutationsFor: self
143143
loggingIn: logger.
@@ -217,7 +217,7 @@ MTAnalysis >> logger: anObject [
217217
]
218218

219219
{ #category : 'accessing' }
220-
MTAnalysis >> methodSize [
220+
MTAnalysis >> methodsCount [
221221

222222
^ (self modelClasses flatCollect: #methods) size
223223
]
@@ -260,6 +260,18 @@ MTAnalysis >> mutantResults [
260260
^ mutantResults
261261
]
262262

263+
{ #category : 'accessing' }
264+
MTAnalysis >> mutantSelectionStrategy [
265+
266+
^ mutantGenerationStrategy mutantSelectionStrategy
267+
]
268+
269+
{ #category : 'accessing' }
270+
MTAnalysis >> mutantSelectionStrategy: anObject [
271+
272+
mutantGenerationStrategy mutantSelectionStrategy: anObject
273+
]
274+
263275
{ #category : 'accessing' }
264276
MTAnalysis >> mutations [
265277

0 commit comments

Comments
 (0)