java.lang.Object
com.parasoft.findings.jenkins.coverage.model.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:
  • Method Details

    • getMutatedClass

      public String getMutatedClass()
    • getMethod

      public String getMethod()
    • getSignature

      public String getSignature()
    • getDescription

      public String getDescription()
    • isDetected

      public boolean isDetected()
    • getStatus

      public MutationStatus getStatus()
    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object