pub struct ChangeCouplingAnalysis {
pub couplings: Vec<FileCoupling>,
pub high_coupling_count: usize,
pub total_files_analyzed: usize,
}Expand description
Change Coupling分析結果
Fields§
§couplings: Vec<FileCoupling>ファイル間の結合関係(結合度順)
high_coupling_count: usize高結合(70%以上)の数
total_files_analyzed: usize分析されたファイル数
Implementations§
Source§impl ChangeCouplingAnalysis
impl ChangeCouplingAnalysis
Sourcepub fn coupling_count(&self) -> usize
pub fn coupling_count(&self) -> usize
結合数を取得
Sourcepub fn grouped_by_file(&self) -> Vec<(&str, Vec<&FileCoupling>)>
pub fn grouped_by_file(&self) -> Vec<(&str, Vec<&FileCoupling>)>
ファイル別にグループ化された結合を取得
Trait Implementations§
Source§impl Clone for ChangeCouplingAnalysis
impl Clone for ChangeCouplingAnalysis
Source§fn clone(&self) -> ChangeCouplingAnalysis
fn clone(&self) -> ChangeCouplingAnalysis
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 ChangeCouplingAnalysis
impl Debug for ChangeCouplingAnalysis
Source§impl Default for ChangeCouplingAnalysis
impl Default for ChangeCouplingAnalysis
Source§fn default() -> ChangeCouplingAnalysis
fn default() -> ChangeCouplingAnalysis
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ChangeCouplingAnalysis
impl RefUnwindSafe for ChangeCouplingAnalysis
impl Send for ChangeCouplingAnalysis
impl Sync for ChangeCouplingAnalysis
impl Unpin for ChangeCouplingAnalysis
impl UnwindSafe for ChangeCouplingAnalysis
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more