Skip to content

MTMutantOperatorAnalysis

DurieuxPol edited this page Oct 18, 2024 · 5 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 operatorsProducingAtLeast: 5) inspect

or less:

  • (analysis operatorsProducingAtMost: 5) inspect
Clone this wiki locally