pub struct RepositoryAnalysis {Show 17 fields
pub repo_path: PathBuf,
pub file_count: usize,
pub language_stats: HashMap<String, usize>,
pub total_lines: usize,
pub code_lines: usize,
pub comment_lines: usize,
pub blank_lines: usize,
pub commit_count: usize,
pub contributors: Vec<Contributor>,
pub last_activity: String,
pub file_extensions: HashMap<String, usize>,
pub avg_file_size: f64,
pub largest_files: Vec<(PathBuf, usize)>,
pub complexity_stats: ComplexityStats,
pub file_age_stats: FileAgeStats,
pub duplicate_code: Vec<DuplicateCode>,
pub most_changed_files: Vec<(PathBuf, usize, usize, usize, f64, String, String, f64)>,
}
Fields§
§repo_path: PathBuf
§file_count: usize
§language_stats: HashMap<String, usize>
§total_lines: usize
§code_lines: usize
§comment_lines: usize
§blank_lines: usize
§commit_count: usize
§contributors: Vec<Contributor>
§last_activity: String
§file_extensions: HashMap<String, usize>
§avg_file_size: f64
§largest_files: Vec<(PathBuf, usize)>
§complexity_stats: ComplexityStats
§file_age_stats: FileAgeStats
§duplicate_code: Vec<DuplicateCode>
§most_changed_files: Vec<(PathBuf, usize, usize, usize, f64, String, String, f64)>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RepositoryAnalysis
impl RefUnwindSafe for RepositoryAnalysis
impl Send for RepositoryAnalysis
impl Sync for RepositoryAnalysis
impl Unpin for RepositoryAnalysis
impl UnwindSafe for RepositoryAnalysis
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