final case class MutantResult(id: String, mutatorName: String, replacement: String, location: Location, status: MutantStatus, statusReason: Option[String] = None, description: Option[String] = None, coveredBy: Option[Seq[String]] = None, killedBy: Option[Seq[String]] = None, testsCompleted: Option[Int] = None, static: Option[Boolean] = None) extends Product with Serializable
Single mutation.
- id
Unique id, can be used to correlate this mutant with other reports.
- mutatorName
Category of the mutation.
- replacement
Actual mutation that has been applied.
- location
A location with start and end. Start is inclusive, end is exclusive.
- status
Result of the mutation.
- statusReason
The reason that this mutant has this status. In the case of a killed mutant, this should be filled with the failure message(s) of the failing tests. In case of an error mutant, this should be filled with the error message.
- description
Description of the applied mutation.
- coveredBy
The test ids that covered this mutant. If a mutation testing framework doesn't measure this information, it can simply be left out.
- killedBy
The test ids that killed this mutant. It is a best practice to "bail" on first failing test, in which case you can fill this array with that one test.
- testsCompleted
The number of tests actually completed in order to test this mutant. Can differ from
coveredBy
because of bailing a mutant test run after first failing test.- static
A static mutant means that it was loaded once at during initialization, this makes it slow or even impossible to test, depending on the mutation testing framework.
- Alphabetic
- By Inheritance
- MutantResult
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
MutantResult(id: String, mutatorName: String, replacement: String, location: Location, status: MutantStatus, statusReason: Option[String] = None, description: Option[String] = None, coveredBy: Option[Seq[String]] = None, killedBy: Option[Seq[String]] = None, testsCompleted: Option[Int] = None, static: Option[Boolean] = None)
- id
Unique id, can be used to correlate this mutant with other reports.
- mutatorName
Category of the mutation.
- replacement
Actual mutation that has been applied.
- location
A location with start and end. Start is inclusive, end is exclusive.
- status
Result of the mutation.
- statusReason
The reason that this mutant has this status. In the case of a killed mutant, this should be filled with the failure message(s) of the failing tests. In case of an error mutant, this should be filled with the error message.
- description
Description of the applied mutation.
- coveredBy
The test ids that covered this mutant. If a mutation testing framework doesn't measure this information, it can simply be left out.
- killedBy
The test ids that killed this mutant. It is a best practice to "bail" on first failing test, in which case you can fill this array with that one test.
- testsCompleted
The number of tests actually completed in order to test this mutant. Can differ from
coveredBy
because of bailing a mutant test run after first failing test.- static
A static mutant means that it was loaded once at during initialization, this makes it slow or even impossible to test, depending on the mutation testing framework.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val coveredBy: Option[Seq[String]]
- val description: Option[String]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val id: String
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val killedBy: Option[Seq[String]]
- val location: Location
- val mutatorName: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val replacement: String
- val static: Option[Boolean]
- val status: MutantStatus
- val statusReason: Option[String]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val testsCompleted: Option[Int]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated