You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A mutation is currently identified by the combination of
Generating mutation operator
The method descriptor
It's numeric "index" - e.g this is the 3rd mutation this mutator could create in this method
This scheme has the advantage that mutations are relatively stable when the method changes. Introducing 20 new IINC instruction would leave mutations that affect other instructions with the same index. This is useful for tools such as sonar.
A downside is that it is not possible to determine if mutations from different operators affect the same statement.
If mutators shared a common indexing system (e.g by indexing on the number of the mutated instruction) it would allow mutations to be compared, and should make it possible to remove the pre-scan stage, replacing it with new filters. This should simplify the code and may have performance benefits as the filters would only need to be run once - the prescan must currently by run when both initially scanning for mutants, and within the child processes when the mutants are enabled.
The text was updated successfully, but these errors were encountered:
A mutation is currently identified by the combination of
This scheme has the advantage that mutations are relatively stable when the method changes. Introducing 20 new IINC instruction would leave mutations that affect other instructions with the same index. This is useful for tools such as sonar.
A downside is that it is not possible to determine if mutations from different operators affect the same statement.
If mutators shared a common indexing system (e.g by indexing on the number of the mutated instruction) it would allow mutations to be compared, and should make it possible to remove the pre-scan stage, replacing it with new filters. This should simplify the code and may have performance benefits as the filters would only need to be run once - the prescan must currently by run when both initially scanning for mutants, and within the child processes when the mutants are enabled.
The text was updated successfully, but these errors were encountered: