pub struct EvolutionTemporalHotspot {
pub path: String,
pub commits: usize,
pub max_complexity: usize,
pub risk_score: usize,
}Expand description
risk_score = commits * max_cyclomatic_complexity - high values flag files
that are both volatile and intricate.
Fields§
§path: String§commits: usize§max_complexity: usize§risk_score: usizeTrait Implementations§
Source§impl Clone for EvolutionTemporalHotspot
impl Clone for EvolutionTemporalHotspot
Source§fn clone(&self) -> EvolutionTemporalHotspot
fn clone(&self) -> EvolutionTemporalHotspot
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 EvolutionTemporalHotspot
impl Debug for EvolutionTemporalHotspot
Source§impl<'de> Deserialize<'de> for EvolutionTemporalHotspot
impl<'de> Deserialize<'de> for EvolutionTemporalHotspot
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 EvolutionTemporalHotspot
impl RefUnwindSafe for EvolutionTemporalHotspot
impl Send for EvolutionTemporalHotspot
impl Sync for EvolutionTemporalHotspot
impl Unpin for EvolutionTemporalHotspot
impl UnsafeUnpin for EvolutionTemporalHotspot
impl UnwindSafe for EvolutionTemporalHotspot
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