Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data CodeCoverageReportSummary = CodeCoverageReportSummary' {}
- newCodeCoverageReportSummary :: CodeCoverageReportSummary
- codeCoverageReportSummary_branchesMissed :: Lens' CodeCoverageReportSummary (Maybe Natural)
- codeCoverageReportSummary_linesMissed :: Lens' CodeCoverageReportSummary (Maybe Natural)
- codeCoverageReportSummary_branchesCovered :: Lens' CodeCoverageReportSummary (Maybe Natural)
- codeCoverageReportSummary_linesCovered :: Lens' CodeCoverageReportSummary (Maybe Natural)
- codeCoverageReportSummary_branchCoveragePercentage :: Lens' CodeCoverageReportSummary (Maybe Double)
- codeCoverageReportSummary_lineCoveragePercentage :: Lens' CodeCoverageReportSummary (Maybe Double)
Documentation
data CodeCoverageReportSummary Source #
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.
See: newCodeCoverageReportSummary
smart constructor.
CodeCoverageReportSummary' | |
|
Instances
newCodeCoverageReportSummary :: CodeCoverageReportSummary Source #
Create a value of CodeCoverageReportSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:branchesMissed:CodeCoverageReportSummary'
, codeCoverageReportSummary_branchesMissed
- The number of conditional branches that are not covered by your tests.
$sel:linesMissed:CodeCoverageReportSummary'
, codeCoverageReportSummary_linesMissed
- The number of lines that are not covered by your tests.
$sel:branchesCovered:CodeCoverageReportSummary'
, codeCoverageReportSummary_branchesCovered
- The number of conditional branches that are covered by your tests.
$sel:linesCovered:CodeCoverageReportSummary'
, codeCoverageReportSummary_linesCovered
- The number of lines that are covered by your tests.
$sel:branchCoveragePercentage:CodeCoverageReportSummary'
, codeCoverageReportSummary_branchCoveragePercentage
- The percentage of branches that are covered by your tests.
$sel:lineCoveragePercentage:CodeCoverageReportSummary'
, codeCoverageReportSummary_lineCoveragePercentage
- The percentage of lines that are covered by your tests.
codeCoverageReportSummary_branchesMissed :: Lens' CodeCoverageReportSummary (Maybe Natural) Source #
The number of conditional branches that are not covered by your tests.
codeCoverageReportSummary_linesMissed :: Lens' CodeCoverageReportSummary (Maybe Natural) Source #
The number of lines that are not covered by your tests.
codeCoverageReportSummary_branchesCovered :: Lens' CodeCoverageReportSummary (Maybe Natural) Source #
The number of conditional branches that are covered by your tests.
codeCoverageReportSummary_linesCovered :: Lens' CodeCoverageReportSummary (Maybe Natural) Source #
The number of lines that are covered by your tests.
codeCoverageReportSummary_branchCoveragePercentage :: Lens' CodeCoverageReportSummary (Maybe Double) Source #
The percentage of branches that are covered by your tests.
codeCoverageReportSummary_lineCoveragePercentage :: Lens' CodeCoverageReportSummary (Maybe Double) Source #
The percentage of lines that are covered by your tests.