Struct aws_sdk_codebuild::model::CodeCoverageReportSummary
source · [−]#[non_exhaustive]pub struct CodeCoverageReportSummary { /* private fields */ }
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.
Implementations
sourceimpl CodeCoverageReportSummary
impl CodeCoverageReportSummary
sourcepub fn line_coverage_percentage(&self) -> Option<f64>
pub fn line_coverage_percentage(&self) -> Option<f64>
The percentage of lines that are covered by your tests.
sourcepub fn lines_covered(&self) -> Option<i32>
pub fn lines_covered(&self) -> Option<i32>
The number of lines that are covered by your tests.
sourcepub fn lines_missed(&self) -> Option<i32>
pub fn lines_missed(&self) -> Option<i32>
The number of lines that are not covered by your tests.
sourcepub fn branch_coverage_percentage(&self) -> Option<f64>
pub fn branch_coverage_percentage(&self) -> Option<f64>
The percentage of branches that are covered by your tests.
sourcepub fn branches_covered(&self) -> Option<i32>
pub fn branches_covered(&self) -> Option<i32>
The number of conditional branches that are covered by your tests.
sourcepub fn branches_missed(&self) -> Option<i32>
pub fn branches_missed(&self) -> Option<i32>
The number of conditional branches that are not covered by your tests.
sourceimpl CodeCoverageReportSummary
impl CodeCoverageReportSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CodeCoverageReportSummary
.
Trait Implementations
sourceimpl Clone for CodeCoverageReportSummary
impl Clone for CodeCoverageReportSummary
sourcefn clone(&self) -> CodeCoverageReportSummary
fn clone(&self) -> CodeCoverageReportSummary
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CodeCoverageReportSummary
impl Debug for CodeCoverageReportSummary
sourceimpl PartialEq<CodeCoverageReportSummary> for CodeCoverageReportSummary
impl PartialEq<CodeCoverageReportSummary> for CodeCoverageReportSummary
sourcefn eq(&self, other: &CodeCoverageReportSummary) -> bool
fn eq(&self, other: &CodeCoverageReportSummary) -> bool
impl StructuralPartialEq for CodeCoverageReportSummary
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more