pub struct CoChangeGapFact {
pub changed_file: String,
pub partner_file: String,
pub shared_revisions: u32,
pub degree: f64,
pub note: String,
}Expand description
One co-change gap: changed_file is in the diff, partner_file is not,
and history shows that the two files usually change together.
Fields§
§changed_file: StringRoot-relative path of the changed file.
partner_file: StringRoot-relative path of the hidden partner that the diff does not touch.
Commits in the history window that changed both files.
degree: f64Coupling degree from 0 to 1.
note: StringScope note: history evidence, not a proof that the partner must change.
Trait Implementations§
Source§impl Clone for CoChangeGapFact
impl Clone for CoChangeGapFact
Source§impl Debug for CoChangeGapFact
impl Debug for CoChangeGapFact
Auto Trait Implementations§
impl Freeze for CoChangeGapFact
impl RefUnwindSafe for CoChangeGapFact
impl Send for CoChangeGapFact
impl Sync for CoChangeGapFact
impl Unpin for CoChangeGapFact
impl UnsafeUnpin for CoChangeGapFact
impl UnwindSafe for CoChangeGapFact
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