muteria.statistics.algorithms module

muteria.statistics.algorithms.getCommonSetsSizes_venn(setsElemsDict, setsize_from=None, setsize_to=None, name_delim='&', not_common=None)[source]

TODO:

arguments are:
  • setsElemsDict

  • setsize_from

  • setsize_to

  • name_delim

  • not_common

return:

muteria.statistics.algorithms.getCoupledMutants(mutants_to_killingtests, failingtests, istwoways=False)[source]
muteria.statistics.algorithms.getSubsumingMutants(mutants_to_killingtests, clustered=True)[source]
Parameters:
  • mutants_to_killingtests – dict having as key the mutant ID and as value the list of test killing it

  • clustered – decides whether the subsuming mutants are returned as a list of mutants or list of mutants clusters

Returns:

a tuple of (1) list of equivalent mutants (2) the list of tuple of subsuming mutant (Each tuple contain the mutants that are subsuming each others) or list of all subsuming mutants.