Class Mutation

  • All Implemented Interfaces:
    Serializable

    public final class Mutation
    extends Object
    implements Serializable
    Class which represents a mutation of the PIT Mutation Testing tool.
    Author:
    Melissa Bauer
    See Also:
    Serialized Form
    • Method Detail

      • getMutatedClass

        public String getMutatedClass()
      • getMethod

        public String getMethod()
      • getSignature

        public String getSignature()
      • getDescription

        public String getDescription()
      • isDetected

        public boolean isDetected()
      • isValid

        public boolean isValid()
      • isCovered

        public boolean isCovered()
      • isMissed

        public boolean isMissed()
      • getLine

        public int getLine()
      • getMutator

        public String getMutator()
      • getKillingTest

        public String getKillingTest()
      • isKilled

        public boolean isKilled()
        Returns if the mutation was killed.
        Returns:
        if the mutation was killed
      • hasSurvived

        public boolean hasSurvived()
        Returns if the mutation has survived.
        Returns:
        if the mutation has survived
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object