pub struct CouplingMetrics {Show 15 fields
pub local_edges: usize,
pub cross_module_edges: usize,
pub cross_unstable_edges: usize,
pub cross_module_ratio: f64,
pub cross_unstable_ratio: f64,
pub entropy: f64,
pub entropy_bits: f64,
pub entropy_pairs: usize,
pub average_module_cohesion: Option<f64>,
pub cohesive_module_count: usize,
pub god_files: Vec<FileCouplingMetric>,
pub unstable_hotspots: Vec<FileCouplingMetric>,
pub most_unstable_files: Vec<FileInstabilityMetric>,
pub max_fan_in: usize,
pub max_fan_out: usize,
}Fields§
§local_edges: usize§cross_module_edges: usize§cross_unstable_edges: usize§cross_module_ratio: f64§cross_unstable_ratio: f64§entropy: f64§entropy_bits: f64§entropy_pairs: usize§average_module_cohesion: Option<f64>§cohesive_module_count: usize§god_files: Vec<FileCouplingMetric>§unstable_hotspots: Vec<FileCouplingMetric>§most_unstable_files: Vec<FileInstabilityMetric>§max_fan_in: usize§max_fan_out: usizeTrait Implementations§
Source§impl Clone for CouplingMetrics
impl Clone for CouplingMetrics
Source§fn clone(&self) -> CouplingMetrics
fn clone(&self) -> CouplingMetrics
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 CouplingMetrics
impl Debug for CouplingMetrics
Source§impl Default for CouplingMetrics
impl Default for CouplingMetrics
Source§fn default() -> CouplingMetrics
fn default() -> CouplingMetrics
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CouplingMetrics
impl<'de> Deserialize<'de> for CouplingMetrics
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CouplingMetrics
impl RefUnwindSafe for CouplingMetrics
impl Send for CouplingMetrics
impl Sync for CouplingMetrics
impl Unpin for CouplingMetrics
impl UnsafeUnpin for CouplingMetrics
impl UnwindSafe for CouplingMetrics
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