Struct aws_sdk_codebuild::model::CodeCoverage
source · [−]#[non_exhaustive]pub struct CodeCoverage { /* private fields */ }Expand description
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.
Implementations
sourceimpl CodeCoverage
impl CodeCoverage
sourcepub fn report_arn(&self) -> Option<&str>
pub fn report_arn(&self) -> Option<&str>
The ARN of the report.
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 CodeCoverage
impl CodeCoverage
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CodeCoverage.
Trait Implementations
sourceimpl Clone for CodeCoverage
impl Clone for CodeCoverage
sourcefn clone(&self) -> CodeCoverage
fn clone(&self) -> CodeCoverage
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 more
sourceimpl Debug for CodeCoverage
impl Debug for CodeCoverage
sourceimpl PartialEq<CodeCoverage> for CodeCoverage
impl PartialEq<CodeCoverage> for CodeCoverage
sourcefn eq(&self, other: &CodeCoverage) -> bool
fn eq(&self, other: &CodeCoverage) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CodeCoverage) -> bool
fn ne(&self, other: &CodeCoverage) -> bool
This method tests for !=.
impl StructuralPartialEq for CodeCoverage
Auto Trait Implementations
impl RefUnwindSafe for CodeCoverage
impl Send for CodeCoverage
impl Sync for CodeCoverage
impl Unpin for CodeCoverage
impl UnwindSafe for CodeCoverage
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more