TestimoX

API Reference

Class

RiskScore

Namespace TestimoX.Testing
Assembly TestimoX

Represents a calculated risk score with details.

Inheritance

  • Object
  • RiskScore

Constructors

Methods

op_Implicit(TestimoX.Testing.RiskScore score) #

Implicitly converts to integer score.

Parameters

score TestimoX.Testing.RiskScore required
public override String ToString() #
Returns: String

Returns a human-readable representation of the score (e.g., "85/100 (85.0%) - Good - Low risk").

Properties

public Int32 Score { get; set; } #

Final risk score (after penalties), bounded by MinScore..MaxScore.

public Int32 MaxScore { get; set; } #

Maximum possible score (100 by default).

public Int32 MinScore { get; set; } #

Minimum possible score (0 by default).

public Int32 BaseScore { get; set; } #

Starting score before penalties are applied.

public Int32 TotalPenalty { get; set; } #

Total penalty points subtracted from BaseScore.

public RiskLevel Level { get; set; } #

Risk level classification derived from the final score.

public List<Object> Factors { get; set; } #

List of contributing factors used to compute the score.

public Double Percentage { get; } #

Gets the score as a percentage.

public String Description { get; } #

Gets a description of the risk level.