Module Values.CodeCoverageReportSummarySource

Contains a summary of a code coverage report. Line coverage measures how many statements your tests cover. A statement is a single instruction, not including comments, conditionals, etc. Branch coverage determines if your tests cover every possible branch of a control structure, such as an if or case statement.

Sourcetype nonrec t = {
  1. lineCoveragePercentage : Percentage.t option;
    (*

    The percentage of lines that are covered by your tests.

    *)
  2. linesCovered : NonNegativeInt.t option;
    (*

    The number of lines that are covered by your tests.

    *)
  3. linesMissed : NonNegativeInt.t option;
    (*

    The number of lines that are not covered by your tests.

    *)
  4. branchCoveragePercentage : Percentage.t option;
    (*

    The percentage of branches that are covered by your tests.

    *)
  5. branchesCovered : NonNegativeInt.t option;
    (*

    The number of conditional branches that are covered by your tests.

    *)
  6. branchesMissed : NonNegativeInt.t option;
    (*

    The number of conditional branches that are not covered by your tests.

    *)
}
Sourceval make : ?lineCoveragePercentage:??? -> ?linesCovered:??? -> ?linesMissed:??? -> ?branchCoveragePercentage:??? -> ?branchesCovered:??? -> ?branchesMissed:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Percentage.t | `Integer of NonNegativeInt.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t