Skip to content
ModularityKit.Mutator ModularityKit.Mutator Docs
  • Home
  • Core
  • Governance
  • Redis
  • API
Search Results for

    Show / Hide Table of Contents

    Class HistoryStatistics

    Provides aggregated statistics for a mutation history.

    Inheritance
    object
    HistoryStatistics
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: ModularityKit.Mutator.Abstractions.History
    Assembly: ModularityKit.Mutator.dll
    Syntax
    public sealed class HistoryStatistics
    Remarks

    HistoryStatistics summarizes key metrics about the mutations applied to a state, such as the total number of mutations, unique actors involved, distribution by category, and average number of changes per mutation.

    This class is typically returned by GetStatistics() and is used for auditing, reporting, and monitoring purposes.

    Properties

    | Edit this page View Source

    AverageChangesPerMutation

    Average number of state changes per mutation.

    Declaration
    public double AverageChangesPerMutation { get; init; }
    Property Value
    Type Description
    double
    | Edit this page View Source

    MutationsByCategory

    Count of mutations grouped by their category.

    Declaration
    public IReadOnlyDictionary<string, int> MutationsByCategory { get; init; }
    Property Value
    Type Description
    IReadOnlyDictionary<string, int>
    | Edit this page View Source

    TotalMutations

    Total number of mutations in the history.

    Declaration
    public int TotalMutations { get; init; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    UniqueActors

    Number of distinct actors who performed mutations.

    Declaration
    public int UniqueActors { get; init; }
    Property Value
    Type Description
    int
    • Edit this page
    • View Source
    In this article
    ModularityKit.Mutator Generated from XML docs and published from main. Back to top