pub struct ProjectMetrics {
pub mock_density_avg: f64,
pub mock_class_max: usize,
pub parameterized_ratio: f64,
pub pbt_ratio: f64,
pub assertion_density_avg: f64,
pub contract_coverage: f64,
pub test_source_ratio: f64,
}Expand description
Project-wide metrics computed from all file analyses.
Fields§
§mock_density_avg: f64§mock_class_max: usize§parameterized_ratio: f64§pbt_ratio: f64§assertion_density_avg: f64§contract_coverage: f64§test_source_ratio: f64Trait Implementations§
Source§impl Clone for ProjectMetrics
impl Clone for ProjectMetrics
Source§fn clone(&self) -> ProjectMetrics
fn clone(&self) -> ProjectMetrics
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProjectMetrics
impl Debug for ProjectMetrics
Source§impl Default for ProjectMetrics
impl Default for ProjectMetrics
Source§fn default() -> ProjectMetrics
fn default() -> ProjectMetrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ProjectMetrics
impl RefUnwindSafe for ProjectMetrics
impl Send for ProjectMetrics
impl Sync for ProjectMetrics
impl Unpin for ProjectMetrics
impl UnsafeUnpin for ProjectMetrics
impl UnwindSafe for ProjectMetrics
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