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 CodeCoverage = CodeCoverage' {}
- newCodeCoverage :: CodeCoverage
- codeCoverage_expired :: Lens' CodeCoverage (Maybe UTCTime)
- codeCoverage_branchesMissed :: Lens' CodeCoverage (Maybe Natural)
- codeCoverage_linesMissed :: Lens' CodeCoverage (Maybe Natural)
- codeCoverage_filePath :: Lens' CodeCoverage (Maybe Text)
- codeCoverage_branchesCovered :: Lens' CodeCoverage (Maybe Natural)
- codeCoverage_linesCovered :: Lens' CodeCoverage (Maybe Natural)
- codeCoverage_branchCoveragePercentage :: Lens' CodeCoverage (Maybe Double)
- codeCoverage_id :: Lens' CodeCoverage (Maybe Text)
- codeCoverage_lineCoveragePercentage :: Lens' CodeCoverage (Maybe Double)
- codeCoverage_reportARN :: Lens' CodeCoverage (Maybe Text)
Documentation
data CodeCoverage Source #
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.
See: newCodeCoverage
smart constructor.
CodeCoverage' | |
|
Instances
newCodeCoverage :: CodeCoverage Source #
Create a value of CodeCoverage
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:expired:CodeCoverage'
, codeCoverage_expired
- The date and time that the tests were run.
$sel:branchesMissed:CodeCoverage'
, codeCoverage_branchesMissed
- The number of conditional branches that are not covered by your tests.
$sel:linesMissed:CodeCoverage'
, codeCoverage_linesMissed
- The number of lines that are not covered by your tests.
$sel:filePath:CodeCoverage'
, codeCoverage_filePath
- The path of the test report file.
$sel:branchesCovered:CodeCoverage'
, codeCoverage_branchesCovered
- The number of conditional branches that are covered by your tests.
$sel:linesCovered:CodeCoverage'
, codeCoverage_linesCovered
- The number of lines that are covered by your tests.
$sel:branchCoveragePercentage:CodeCoverage'
, codeCoverage_branchCoveragePercentage
- The percentage of branches that are covered by your tests.
$sel:id:CodeCoverage'
, codeCoverage_id
- The identifier of the code coverage report.
$sel:lineCoveragePercentage:CodeCoverage'
, codeCoverage_lineCoveragePercentage
- The percentage of lines that are covered by your tests.
$sel:reportARN:CodeCoverage'
, codeCoverage_reportARN
- The ARN of the report.
codeCoverage_expired :: Lens' CodeCoverage (Maybe UTCTime) Source #
The date and time that the tests were run.
codeCoverage_branchesMissed :: Lens' CodeCoverage (Maybe Natural) Source #
The number of conditional branches that are not covered by your tests.
codeCoverage_linesMissed :: Lens' CodeCoverage (Maybe Natural) Source #
The number of lines that are not covered by your tests.
codeCoverage_filePath :: Lens' CodeCoverage (Maybe Text) Source #
The path of the test report file.
codeCoverage_branchesCovered :: Lens' CodeCoverage (Maybe Natural) Source #
The number of conditional branches that are covered by your tests.
codeCoverage_linesCovered :: Lens' CodeCoverage (Maybe Natural) Source #
The number of lines that are covered by your tests.
codeCoverage_branchCoveragePercentage :: Lens' CodeCoverage (Maybe Double) Source #
The percentage of branches that are covered by your tests.
codeCoverage_id :: Lens' CodeCoverage (Maybe Text) Source #
The identifier of the code coverage report.
codeCoverage_lineCoveragePercentage :: Lens' CodeCoverage (Maybe Double) Source #
The percentage of lines that are covered by your tests.
codeCoverage_reportARN :: Lens' CodeCoverage (Maybe Text) Source #
The ARN of the report.