pub struct CoverageReport {
pub line_coverage: f64,
pub branch_coverage: f64,
pub function_coverage: f64,
pub uncovered_lines: Vec<usize>,
}Expand description
Code coverage metrics from test execution
Fields§
§line_coverage: f64Percentage of lines covered (0.0 to 100.0)
branch_coverage: f64Percentage of branches covered (0.0 to 100.0)
function_coverage: f64Percentage of functions covered (0.0 to 100.0)
uncovered_lines: Vec<usize>Line numbers that were not covered by tests
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CoverageReport
impl RefUnwindSafe for CoverageReport
impl Send for CoverageReport
impl Sync for CoverageReport
impl Unpin for CoverageReport
impl UnsafeUnpin for CoverageReport
impl UnwindSafe for CoverageReport
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more