MetricsResult
extends ObjectSupertypes
ObjectAnnotations
@scala.annotation.internal.Child, @scala.annotation.internal.Child, @scala.annotation.internal.Child, @scala.annotation.internal.Child, @scala.annotation.internal.ChildMembers
mutationScore
: DoubleThe total percentage of mutants that were killed.
The total percentage of mutants that were killed.
mutationScoreBasedOnCoveredCode
: DoubleThe 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.
totalCovered
: IntThe number of mutants that your tests produce code coverage for.
The number of mutants that your tests produce code coverage for.
totalDetected
: IntThe number of mutants detected by your tests.
The number of mutants detected by your tests.
totalInvalid
: IntThe 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.
totalMutants
: IntAll mutants.
All mutants.
totalUndetected
: IntThe number of mutants that are not detected by your tests.
The number of mutants that are not detected by your tests.
totalValid
: IntThe 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.
compileErrors
: IntThe 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.
killed
: IntAt 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!
noCoverage
: IntNo 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.
percentage
( n: Double , divisor: Double ) : Doublesurvived
: IntAll 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.
timeout
: IntThe 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.