pub struct HallOfShame { /* private fields */ }Implementations§
Source§impl HallOfShame
impl HallOfShame
pub fn new() -> Self
pub fn add_file_analysis( &mut self, file_path: PathBuf, issues: &[CodeIssue], file_lines: usize, )
pub fn generate_shame_report(&self) -> ProjectShameStats
pub fn get_worst_files(&self, limit: usize) -> Vec<&ShameEntry>
pub fn get_most_common_patterns(&self, limit: usize) -> Vec<&PatternStats>
pub fn generate_shame_heatmap(&self) -> HashMap<String, f64>
pub fn get_improvement_suggestions(&self, lang: &str) -> Vec<String>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HallOfShame
impl RefUnwindSafe for HallOfShame
impl Send for HallOfShame
impl Sync for HallOfShame
impl Unpin for HallOfShame
impl UnwindSafe for HallOfShame
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