dextool.plugin.mutate.backend.report.analyzers

Members

Aliases

MutationReprMap
alias MutationReprMap = MutationRepr[MutationId]
Undocumented in source.
Mutations
alias Mutations = bool[MutationId]
Undocumented in source.
MutationsMap
alias MutationsMap = Mutations[TestCase]
Undocumented in source.

Classes

DiffReport
class DiffReport
Undocumented in source.
MutantSample
class MutantSample

High interest mutants.

TestCaseSimilarityAnalyse
class TestCaseSimilarityAnalyse

The result of analysing the test cases to see how similare they are to each other.

TestGroupSimilarity
class TestGroupSimilarity
Undocumented in source.
TestGroupStat
class TestGroupStat
Undocumented in source.

Functions

reportDeadTestCases
TestCaseDeadStat reportDeadTestCases(Database db)
reportDiff
DiffReport reportDiff(Database db, const(Mutation.Kind)[] kinds, Diff diff, AbsolutePath workdir)
Undocumented in source. Be warned that the author may not have intended to support it.
reportMarkedMutants
MarkedMutantsStat reportMarkedMutants(Database db, Mutation.Kind[] kinds, string file)
Undocumented in source. Be warned that the author may not have intended to support it.
reportMinimalSet
MinimalTestSet reportMinimalSet(Database db, Mutation.Kind[] kinds)
Undocumented in source. Be warned that the author may not have intended to support it.
reportMutationSubtypeStats
void reportMutationSubtypeStats(long[MakeMutationTextResult] mut_stat, Table!4 tbl)
Undocumented in source. Be warned that the author may not have intended to support it.
reportMutationTestCaseSuggestion
void reportMutationTestCaseSuggestion(Database db, MutationId[] tc_sugg, WriterT writer)
Undocumented in source. Be warned that the author may not have intended to support it.
reportSelectedAliveMutants
MutantSample reportSelectedAliveMutants(Database db, const(Mutation.Kind)[] kinds, long history_nr)
reportStatistics
MutationStat reportStatistics(Database db, Mutation.Kind[] kinds, string file)
Undocumented in source. Be warned that the author may not have intended to support it.
reportTestCaseFullOverlap
TestCaseOverlapStat reportTestCaseFullOverlap(Database db, Mutation.Kind[] kinds)

Test cases that kill exactly the same mutants.

reportTestCaseKillMap
void reportTestCaseKillMap(MutationsMap mut_stat, MutationReprMap mutrepr, WriterTextT writer_txt, WriterT writer)
Undocumented in source. Be warned that the author may not have intended to support it.
reportTestCaseSimilarityAnalyse
TestCaseSimilarityAnalyse reportTestCaseSimilarityAnalyse(Database db, Mutation.Kind[] kinds, ulong limit)

Analyse the similarity between test cases.

reportTestCaseStats
void reportTestCaseStats(Database db, Mutation.Kind[] kinds, long take_, ReportKillSortOrder sort_order, Table!3 tbl)

Update the table with the score of test cases and how many mutants they killed.

reportTestCaseUniqueness
TestCaseUniqueness reportTestCaseUniqueness(Database db, Mutation.Kind[] kinds)
reportTestGroups
TestGroupStat reportTestGroups(Database db, const(Mutation.Kind)[] kinds, const(TestGroup) test_g)
Undocumented in source. Be warned that the author may not have intended to support it.
reportTestGroupsSimilarity
TestGroupSimilarity reportTestGroupsSimilarity(Database db, const(Mutation.Kind)[] kinds, const(TestGroup)[] test_groups)

Analyze the similarity between the test groups.

toTable
void toTable(TestCaseDeadStat st, Table!2 tbl)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

MarkedMutantsStat
struct MarkedMutantsStat
Undocumented in source.
MinimalTestSet
struct MinimalTestSet
Undocumented in source.
MutationRepr
struct MutationRepr

Information needed to present the mutant to an user.

MutationStat
struct MutationStat

Statistics for a group of mutants.

Table (from dextool.plugin.mutate.backend.report.utility)
struct Table(int columnsNr) via public import dextool.plugin.mutate.backend.report.utility : Table;
Undocumented in source.
TestCaseDeadStat
struct TestCaseDeadStat

Statistics about dead test cases.

TestCaseOverlapStat
struct TestCaseOverlapStat
Undocumented in source.
TestCaseUniqueness
struct TestCaseUniqueness
Undocumented in source.

Templates

toTable
template toTable(Flag!"colWithMutants" colMutants)

Report test cases that completly overlap each other.

Meta

License

MPL-2

Authors

Joakim Brännström (joakim.brannstrom@gmx.com)

This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

This module contains different kinds of report methods and statistical analyzers of the data gathered in the database.