Skip to content

MTMutantOperatorAnalysis

DurieuxPol edited this page Jan 29, 2024 · 3 revisions

The MTMutantOperatorAnalysis is meant to give information about the number of mutants that the MuTalk's set of mutant operators generates on given classes/packages.

How to use

The MTMutantOperatorAnalysis can be used in two ways:

  • on classes:
    • analysis := MTMutantOperatorAnalysis forClasses: { UUID }
  • or on packages:
    • analysis := MTMutantOperatorAnalysis forPackages: { 'Network-UUID' }

Then you can ask for the collection of operators that produce more than a number of mutants:

  • (analysis operatorsProducingOverXMutants: 5) inspect

or less:

  • (analysis operatorsProducingUnderXMutants: 5) inspect