pub struct CodeQuality {
pub lines_of_code: usize,
pub module_count: usize,
pub function_count: usize,
pub average_function_size: f32,
pub complexity_indicators: Vec<String>,
pub large_modules: Vec<String>,
pub god_module_candidates: Vec<String>,
pub score: u8,
}Fields§
§lines_of_code: usize§module_count: usize§function_count: usize§average_function_size: f32§complexity_indicators: Vec<String>§large_modules: Vec<String>§god_module_candidates: Vec<String>§score: u8Trait Implementations§
impl AnalysisSection for CodeQuality
Source§impl Analyzer<CodeQuality> for CodeQualityAnalyzer
impl Analyzer<CodeQuality> for CodeQualityAnalyzer
fn analyze(&self, snapshot: &RepositorySnapshot) -> CodeQuality
Source§impl Clone for CodeQuality
impl Clone for CodeQuality
Source§fn clone(&self) -> CodeQuality
fn clone(&self) -> CodeQuality
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CodeQuality
impl RefUnwindSafe for CodeQuality
impl Send for CodeQuality
impl Sync for CodeQuality
impl Unpin for CodeQuality
impl UnsafeUnpin for CodeQuality
impl UnwindSafe for CodeQuality
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