pub struct DevelopmentCosts {
pub loc: u64,
pub cyclomatic_complexity: f64,
pub code_churn: f64,
pub onboarding_days: f64,
}Expand description
Development cost metrics
Fields§
§loc: u64Lines of code
cyclomatic_complexity: f64Cyclomatic complexity
code_churn: f64Code churn (lines changed per month)
onboarding_days: f64Time to onboard new developer in days
Trait Implementations§
Source§impl Clone for DevelopmentCosts
impl Clone for DevelopmentCosts
Source§fn clone(&self) -> DevelopmentCosts
fn clone(&self) -> DevelopmentCosts
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 DevelopmentCosts
impl Debug for DevelopmentCosts
Source§impl Default for DevelopmentCosts
impl Default for DevelopmentCosts
Source§impl<'de> Deserialize<'de> for DevelopmentCosts
impl<'de> Deserialize<'de> for DevelopmentCosts
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 DevelopmentCosts
impl RefUnwindSafe for DevelopmentCosts
impl Send for DevelopmentCosts
impl Sync for DevelopmentCosts
impl Unpin for DevelopmentCosts
impl UnwindSafe for DevelopmentCosts
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