Module Values.CodeCoverageSource

Contains code coverage report information. 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. id : NonEmptyString.t option;
    (*

    The identifier of the code coverage report.

    *)
  2. reportARN : NonEmptyString.t option;
    (*

    The ARN of the report.

    *)
  3. filePath : NonEmptyString.t option;
    (*

    The path of the test report file.

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

    The percentage of lines that are covered by your tests.

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

    The number of lines that are covered by your tests.

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

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

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

    The percentage of branches that are covered by your tests.

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

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

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

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

    *)
  10. expired : Timestamp.t option;
    (*

    The date and time that the tests were run.

    *)
}
Sourceval make : ?id:??? -> ?reportARN:??? -> ?filePath:??? -> ?lineCoveragePercentage:??? -> ?linesCovered:??? -> ?linesMissed:??? -> ?branchCoveragePercentage:??? -> ?branchesCovered:??? -> ?branchesMissed:??? -> ?expired:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Double of Percentage.t | `Integer of NonNegativeInt.t | `String of NonEmptyString.t | `Timestamp of Timestamp.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