Struct aws_sdk_codebuild::model::CodeCoverageReportSummary [−][src]
#[non_exhaustive]pub struct CodeCoverageReportSummary {
pub line_coverage_percentage: Option<f64>,
pub lines_covered: Option<i32>,
pub lines_missed: Option<i32>,
pub branch_coverage_percentage: Option<f64>,
pub branches_covered: Option<i32>,
pub branches_missed: Option<i32>,
}
Expand description
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.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.line_coverage_percentage: Option<f64>
The percentage of lines that are covered by your tests.
lines_covered: Option<i32>
The number of lines that are covered by your tests.
lines_missed: Option<i32>
The number of lines that are not covered by your tests.
branch_coverage_percentage: Option<f64>
The percentage of branches that are covered by your tests.
branches_covered: Option<i32>
The number of conditional branches that are covered by your tests.
branches_missed: Option<i32>
The number of conditional branches that are not covered by your tests.
Implementations
Creates a new builder-style object to manufacture CodeCoverageReportSummary
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CodeCoverageReportSummary
impl Send for CodeCoverageReportSummary
impl Sync for CodeCoverageReportSummary
impl Unpin for CodeCoverageReportSummary
impl UnwindSafe for CodeCoverageReportSummary
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more