libZSservicesZSamazonka-codebuildZSamazonka-codebuild
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.CodeBuild.Types.CodeCoverage

Description

 
Synopsis

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.

Constructors

CodeCoverage' 

Fields

Instances

Instances details
Eq CodeCoverage Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.CodeCoverage

Read CodeCoverage Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.CodeCoverage

Show CodeCoverage Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.CodeCoverage

Generic CodeCoverage Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.CodeCoverage

Associated Types

type Rep CodeCoverage :: Type -> Type #

NFData CodeCoverage Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.CodeCoverage

Methods

rnf :: CodeCoverage -> () #

Hashable CodeCoverage Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.CodeCoverage

FromJSON CodeCoverage Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.CodeCoverage

type Rep CodeCoverage Source # 
Instance details

Defined in Amazonka.CodeBuild.Types.CodeCoverage

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.