pub struct CodeCoverage {
pub branch_coverage_percentage: Option<f64>,
pub branches_covered: Option<i64>,
pub branches_missed: Option<i64>,
pub expired: Option<f64>,
pub file_path: Option<String>,
pub id: Option<String>,
pub line_coverage_percentage: Option<f64>,
pub lines_covered: Option<i64>,
pub lines_missed: Option<i64>,
pub report_arn: Option<String>,
}
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.
Fields§
§branch_coverage_percentage: Option<f64>
The percentage of branches that are covered by your tests.
branches_covered: Option<i64>
The number of conditional branches that are covered by your tests.
branches_missed: Option<i64>
The number of conditional branches that are not covered by your tests.
expired: Option<f64>
The date and time that the tests were run.
file_path: Option<String>
The path of the test report file.
id: Option<String>
The identifier of the code coverage report.
line_coverage_percentage: Option<f64>
The percentage of lines that are covered by your tests.
lines_covered: Option<i64>
The number of lines that are covered by your tests.
lines_missed: Option<i64>
The number of lines that are not covered by your tests.
report_arn: Option<String>
The ARN of the report.
Trait Implementations§
Source§impl Clone for CodeCoverage
impl Clone for CodeCoverage
Source§fn clone(&self) -> CodeCoverage
fn clone(&self) -> CodeCoverage
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more