Table of Contents

Class QualityReport

Namespace
SharpConsoleUI.Diagnostics.Analysis
Assembly
SharpConsoleUI.dll

Represents a quality analysis report for a specific frame. Contains detected issues, optimization scores, and recommendations.

public class QualityReport
Inheritance
QualityReport
Inherited Members

Properties

FrameNumber

Gets or sets the frame number this report analyzes.

public int FrameNumber { get; set; }

Property Value

int

HasIssues

Gets whether this frame has any quality issues.

public bool HasIssues { get; }

Property Value

bool

InefficientCursorMoves

Gets or sets the number of inefficient cursor moves detected. Inefficient moves could be optimized by combining adjacent writes.

public int InefficientCursorMoves { get; set; }

Property Value

int

Issues

Gets the list of detected quality issues.

public List<QualityIssue> Issues { get; set; }

Property Value

List<QualityIssue>

OptimizationScore

Gets or sets the overall optimization score (0.0-1.0). 1.0 = fully optimized, 0.0 = no optimization.

public double OptimizationScore { get; set; }

Property Value

double

OverInvalidationRatio

Gets or sets the over-invalidation ratio (0.0-1.0). Higher values indicate more cells marked dirty than actually changed.

public double OverInvalidationRatio { get; set; }

Property Value

double

RedundantAnsiCount

Gets or sets the number of redundant ANSI sequences detected. Redundant sequences set the same color/attribute twice in a row.

public int RedundantAnsiCount { get; set; }

Property Value

int

Methods

GetDetailedReport()

Returns a detailed report with all issues.

public string GetDetailedReport()

Returns

string

GetSummary()

Gets a summary string of the quality report.

public string GetSummary()

Returns

string