| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CodeBuild.Types.CodeCoverageReportSummary
Description
Synopsis
- data CodeCoverageReportSummary = CodeCoverageReportSummary' {}
- newCodeCoverageReportSummary :: CodeCoverageReportSummary
- codeCoverageReportSummary_branchCoveragePercentage :: Lens' CodeCoverageReportSummary (Maybe Double)
- codeCoverageReportSummary_branchesCovered :: Lens' CodeCoverageReportSummary (Maybe Natural)
- codeCoverageReportSummary_branchesMissed :: Lens' CodeCoverageReportSummary (Maybe Natural)
- codeCoverageReportSummary_lineCoveragePercentage :: Lens' CodeCoverageReportSummary (Maybe Double)
- codeCoverageReportSummary_linesCovered :: Lens' CodeCoverageReportSummary (Maybe Natural)
- codeCoverageReportSummary_linesMissed :: Lens' CodeCoverageReportSummary (Maybe Natural)
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.
Constructors
| CodeCoverageReportSummary' | |
Fields
| |
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:branchCoveragePercentage:CodeCoverageReportSummary', codeCoverageReportSummary_branchCoveragePercentage - The percentage of branches that are covered by your tests.
$sel:branchesCovered:CodeCoverageReportSummary', codeCoverageReportSummary_branchesCovered - The number of conditional branches that are covered by your tests.
$sel:branchesMissed:CodeCoverageReportSummary', codeCoverageReportSummary_branchesMissed - The number of conditional branches that are not covered by your tests.
$sel:lineCoveragePercentage:CodeCoverageReportSummary', codeCoverageReportSummary_lineCoveragePercentage - The percentage of lines that are covered by your tests.
$sel:linesCovered:CodeCoverageReportSummary', codeCoverageReportSummary_linesCovered - The number of lines that are covered by your tests.
$sel:linesMissed:CodeCoverageReportSummary', codeCoverageReportSummary_linesMissed - The number of lines that are not covered by your tests.
codeCoverageReportSummary_branchCoveragePercentage :: Lens' CodeCoverageReportSummary (Maybe Double) Source #
The percentage of branches that are covered by your tests.
codeCoverageReportSummary_branchesCovered :: Lens' CodeCoverageReportSummary (Maybe Natural) Source #
The number of conditional branches 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_lineCoveragePercentage :: Lens' CodeCoverageReportSummary (Maybe Double) Source #
The percentage of lines that are covered by your tests.
codeCoverageReportSummary_linesCovered :: Lens' CodeCoverageReportSummary (Maybe Natural) Source #
The number of lines that are covered by your tests.
codeCoverageReportSummary_linesMissed :: Lens' CodeCoverageReportSummary (Maybe Natural) Source #
The number of lines that are not covered by your tests.