garbage_code_hunter/
lib.rs

1// Library interface for garbage-code-hunter
2// This allows the crate to be used both as a binary and a library
3
4pub mod analyzer;
5pub mod educational;
6pub mod hall_of_shame;
7pub mod i18n;
8pub mod reporter;
9pub mod rules;
10pub mod scoring;
11pub mod utils;
12
13pub use analyzer::{CodeAnalyzer, CodeIssue, RoastLevel, Severity};
14pub use educational::{EducationalAdvice, EducationalAdvisor};
15pub use hall_of_shame::{HallOfShame, ProjectShameStats, ShameEntry};
16pub use i18n::I18n;
17pub use reporter::Reporter;
18pub use scoring::{CodeQualityScore, CodeScorer, QualityLevel};