T sealed trait

# MetricsResult

extends Object

## Supertypes

Object

## Annotations

@scala.annotation.internal.Child, @scala.annotation.internal.Child, @scala.annotation.internal.Child, @scala.annotation.internal.Child, @scala.annotation.internal.Child

## Members

lazy val

### mutationScore

: Double

The total percentage of mutants that were killed.

The total percentage of mutants that were killed.

lazy val

### mutationScoreBasedOnCoveredCode

: Double

The total percentage of mutants that were killed based on the code coverage results.

The total percentage of mutants that were killed based on the code coverage results.

lazy val

### totalCovered

: Int

The number of mutants that your tests produce code coverage for.

The number of mutants that your tests produce code coverage for.

lazy val

### totalDetected

: Int

The number of mutants detected by your tests.

The number of mutants detected by your tests.

lazy val

### totalInvalid

: Int

The number of mutants that are invalid. They couldn't be tested because they produce either a compile error.

The number of mutants that are invalid. They couldn't be tested because they produce either a compile error.

lazy val

### totalMutants

: Int

All mutants.

All mutants.

lazy val

### totalUndetected

: Int

The number of mutants that are not detected by your tests.

The number of mutants that are not detected by your tests.

lazy val

### totalValid

: Int

The number of mutants that are valid. They didn't result in a compile error or runtime error.

The number of mutants that are valid. They didn't result in a compile error or runtime error.

def

### compileErrors

: Int

The mutant resulted in a compiler error. This can happen in compiled languages. Don't spend too much attention looking at this mutant. It is not represe...

The mutant resulted in a compiler error. This can happen in compiled languages. Don't spend too much attention looking at this mutant. It is not represented in your mutation score.

def

### killed

: Int

At least one test failed while this mutant was active. The mutant is killed. This is what you want, good job!

At least one test failed while this mutant was active. The mutant is killed. This is what you want, good job!

def

### noCoverage

: Int

No tests are executed to test this mutant, because the mutant is located in a part of the code that is not hit by any of your tests. This means the mut...

No tests are executed to test this mutant, because the mutant is located in a part of the code that is not hit by any of your tests. This means the mutant also survived and your missing a test case for it.

private def

### percentage

( n: Double , divisor: Double ) : Double

def

### survived

: Int

All tests passed while this mutant was active. the mutant survived. You're missing a test for it.

All tests passed while this mutant was active. the mutant survived. You're missing a test for it.

def

### timeout

: Int

The running of tests with this mutant active resulted in a timeout. For example, the mutant resulted in an infinite loop in your code. Don't spend too m...

The running of tests with this mutant active resulted in a timeout. For example, the mutant resulted in an infinite loop in your code. Don't spend too much attention to this mutant. It is counted as "detected". The logic here is that if this mutant were to be injected in your code, your CI build would detect it, because the tests will never complete.