DbMutant

Undocumented in source.
struct DbMutant {}

Members

Aliases

aliveNoMutSrcMutants
alias aliveNoMutSrcMutants = countNoMutMutants!([Mutation.Status.alive, Mutation.Status.noCoverage], 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.
memOverloadMutants
alias memOverloadMutants = countMutants!([Mutation.Status.memOverload])
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, Mutation.Status.memOverload])
unknownSrcMutants
alias unknownSrcMutants = countMutants!([Mutation.Status.unknown])
Undocumented in source.

Functions

db
Miniorm db()
Undocumented in source. Be warned that the author may not have intended to support it.
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()
getHighestPrioMutant
MutationStatus[] getHighestPrioMutant(Mutation.Status status, long nr)
getKind
Mutation.Kind getKind(MutationStatusId id)
Undocumented in source. Be warned that the author may not have intended to support it.
getLatestMutantTimes
MutantTestTime[] getLatestMutantTimes(long nr)
getLatestMutants
MutationStatusTime[] getLatestMutants(long nr)
getMutantInfo
Optional!MutantInfo2 getMutantInfo(MutationStatusId id)
getMutantMetaData
MutantMetaData getMutantMetaData(MutationStatusId id)
Undocumented in source. Be warned that the author may not have intended to support it.
getMutantMetaData
MutantMetaData[] getMutantMetaData(Mutation.Status status)
Undocumented in source. Be warned that the author may not have intended to support it.
getMutantsInfo
MutantInfo[] getMutantsInfo(const(MutationStatusId)[] id)
getMutation
Nullable!MutationEntry getMutation(MutationStatusId id)
Undocumented in source. Be warned that the author may not have intended to support it.
getMutationStatus
Nullable!(Mutation.Status) getMutationStatus(MutationStatusId 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.
getMutationsOnLine
MutationStatusId[] getMutationsOnLine(FileId fid, SourceLoc sloc)
getOldestMutants
MutationStatusTime[] getOldestMutants(long nr, Mutation.Status[] status)
getPath
Nullable!Path getPath(MutationStatusId id)
Undocumented in source. Be warned that the author may not have intended to support it.
getSurroundingAliveMutants
MutationStatusId[] getSurroundingAliveMutants(MutationStatusId id)
increaseFilePrio
void increaseFilePrio(Path prioFile)
Undocumented in source. Be warned that the author may not have intended to support it.
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.

relate
void relate(MutationStatusId id, string testCmd)
Undocumented in source. Be warned that the author may not have intended to support it.
removeMutant
void removeMutant(Mutation.Kind[] kinds)
Undocumented in source. Be warned that the author may not have intended to support it.
removeOrphanedMutants
void removeOrphanedMutants(void delegate(size_t i, size_t total, const Duration avgRemoveTime, const Duration timeLeft, SysTime predDoneAt) progress, void delegate(size_t total) done)

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.

update
void update(MutationStatusId id, Mutation.Status st, ExitStatus ecode, MutantTimeProfile p, const(TestCase)[] tcs)
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update(MutationStatusId id, Mutation.Status st, ExitStatus ecode, MutantTimeProfile p)
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update(MutationStatusId id, MutantTimeProfile p)

Update the time used to test the mutant.

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

Update the status of a mutant.

Meta