DbMutant

Undocumented in source.
struct DbMutant {}

Members

Aliases

aliveNoMutSrcMutants
alias aliveNoMutSrcMutants = countNoMutMutants!([Mutation.Status.alive], true)

Count the mutants with the nomut metadata.

aliveSrcMutants
alias aliveSrcMutants = countMutants!([Mutation.Status.alive, Mutation.Status.noCoverage])
Undocumented in source.
equivalentMutants
alias equivalentMutants = countMutants!([Mutation.Status.equivalent])
Undocumented in source.
killedByCompilerSrcMutants
alias killedByCompilerSrcMutants = countMutants!([Mutation.Status.killedByCompiler])
Undocumented in source.
killedSrcMutants
alias killedSrcMutants = countMutants!([Mutation.Status.killed])
Undocumented in source.
noCovSrcMutants
alias noCovSrcMutants = countMutants!([Mutation.Status.noCoverage])
Undocumented in source.
skippedMutants
alias skippedMutants = countMutants!([Mutation.Status.skipped])
Undocumented in source.
timeoutSrcMutants
alias timeoutSrcMutants = countMutants!([Mutation.Status.timeout])
Undocumented in source.
totalSrcMutants
alias totalSrcMutants = countMutants!([Mutation.Status.alive, Mutation.Status.killed, Mutation.Status.timeout, Mutation.Status.noCoverage])
unknownSrcMutants
alias unknownSrcMutants = countMutants!([Mutation.Status.unknown])
Undocumented in source.

Functions

exists
bool exists(MutationStatusId id)
Undocumented in source. Be warned that the author may not have intended to support it.
getAllMutationStatus
MutationStatusId[] getAllMutationStatus()
getAllTestCaseKills
long[] getAllTestCaseKills()
getChecksum
Nullable!Checksum getChecksum(MutationStatusId id)
Undocumented in source. Be warned that the author may not have intended to support it.
getHighestPrioMutant
MutationStatus[] getHighestPrioMutant(const(Mutation.Kind)[] kinds, Mutation.Status status, long nr)
getKind
Mutation.Kind getKind(MutationId id)
Undocumented in source. Be warned that the author may not have intended to support it.
getLatestMutants
MutationStatusTime[] getLatestMutants(const(Mutation.Kind)[] kinds, long nr)
getMutantInfo
Optional!MutantInfo2 getMutantInfo(MutationStatusId id)
getMutantationMetaData
MutantMetaData getMutantationMetaData(MutationId id)
Undocumented in source. Be warned that the author may not have intended to support it.
getMutantationMetaData
MutantMetaData[] getMutantationMetaData(Mutation.Kind[] kinds, Mutation.Status status)
Undocumented in source. Be warned that the author may not have intended to support it.
getMutantsInfo
MutantInfo[] getMutantsInfo(Mutation.Kind[] kinds, const(MutationStatusId)[] id)
getMutation
Nullable!MutationEntry getMutation(MutationId id)
Undocumented in source. Be warned that the author may not have intended to support it.
getMutationId
Nullable!MutationId getMutationId(MutationStatusId id)
Undocumented in source. Be warned that the author may not have intended to support it.
getMutationIds
MutationId[] getMutationIds(const(Mutation.Kind)[] kinds, const(MutationStatusId)[] id)
getMutationStatus
Nullable!(Mutation.Status) getMutationStatus(MutationStatusId id)
Undocumented in source. Be warned that the author may not have intended to support it.
getMutationStatus
Nullable!(Mutation.Status) getMutationStatus(MutationId id)
Undocumented in source. Be warned that the author may not have intended to support it.
getMutationStatus2
MutationStatus getMutationStatus2(MutationStatusId id)
Undocumented in source. Be warned that the author may not have intended to support it.
getMutationStatusId
Nullable!MutationStatusId getMutationStatusId(MutationId id)
Undocumented in source. Be warned that the author may not have intended to support it.
getMutationStatusId
Nullable!MutationStatusId getMutationStatusId(Checksum cs)
Undocumented in source. Be warned that the author may not have intended to support it.
getMutationsOnLine
MutationStatusId[] getMutationsOnLine(const(Mutation.Kind)[] kinds, FileId fid, SourceLoc sloc)
getOldestMutants
MutationStatusTime[] getOldestMutants(const(Mutation.Kind)[] kinds, long nr)
getPath
Nullable!Path getPath(MutationId id)
Undocumented in source. Be warned that the author may not have intended to support it.
getPath
Nullable!Path getPath(MutationStatusId id)
Undocumented in source. Be warned that the author may not have intended to support it.
getSourceLocation
Nullable!SourceLoc getSourceLocation(MutationId id)

Get SourceLoc for a specific mutation id.

getSurroundingAliveMutants
MutationStatusId[] getSurroundingAliveMutants(MutationStatusId id)
mutantsInRegion
MutationStatusId[] mutantsInRegion(FileId id, Offset region, Mutation.Status status, Mutation.Kind[] kinds)
Undocumented in source. Be warned that the author may not have intended to support it.
put
void put(MutationPointEntry2[] mps, AbsolutePath root)

Store all found mutants.

removeMutant
void removeMutant(Mutation.Kind[] kinds)

Remove all mutations of kinds.

removeOrphanedMutants
void removeOrphanedMutants()

Remove mutants that have no connection to a mutation point, orphaned mutants.

resetMutant
void resetMutant(Mutation.Kind[] kinds, Mutation.Status st, Mutation.Status to_st)

Reset all mutations of kinds with the status st to unknown.

updateMutation
void updateMutation(MutationId id, Mutation.Status st, ExitStatus ecode, MutantTimeProfile p, const(TestCase)[] tcs)

Update the status of a mutant.

updateMutation
void updateMutation(MutationStatusId id, Mutation.Status st, ExitStatus ecode, MutantTimeProfile p)

Update the status of a mutant.

updateMutation
void updateMutation(MutationStatusId id, MutantTimeProfile p)

Update the time used to test the mutant.

updateMutationStatus
void updateMutationStatus(MutationStatusId id, Mutation.Status st, ExitStatus ecode, Flag!"updateTs" update_ts)

Update the status of a mutant.

Meta