pub struct CouplingDetector { /* private fields */ }Expand description
Detects temporal coupling patterns from change history.
Implementations§
Source§impl CouplingDetector
impl CouplingDetector
Sourcepub fn with_options(options: CouplingOptions) -> Self
pub fn with_options(options: CouplingOptions) -> Self
Create a new coupling detector with custom options.
Sourcepub fn detect_all(
&self,
history: &ChangeHistory,
graph: Option<&CodeGraph>,
) -> Vec<Coupling>
pub fn detect_all( &self, history: &ChangeHistory, graph: Option<&CodeGraph>, ) -> Vec<Coupling>
Detect all couplings from the change history.
Optionally cross-references with a CodeGraph to annotate couplings
that already have explicit edges.
Trait Implementations§
Source§impl Clone for CouplingDetector
impl Clone for CouplingDetector
Source§fn clone(&self) -> CouplingDetector
fn clone(&self) -> CouplingDetector
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 CouplingDetector
impl Debug for CouplingDetector
Auto Trait Implementations§
impl Freeze for CouplingDetector
impl RefUnwindSafe for CouplingDetector
impl Send for CouplingDetector
impl Sync for CouplingDetector
impl Unpin for CouplingDetector
impl UnsafeUnpin for CouplingDetector
impl UnwindSafe for CouplingDetector
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