pub struct ParseStats {
pub files_parsed: usize,
pub files_skipped: usize,
pub files_errored: usize,
pub total_lines: usize,
pub parse_time_ms: u64,
pub by_language: HashMap<Language, usize>,
pub coverage: ParseCoverageStats,
}Expand description
Aggregate statistics from a parse run.
Fields§
§files_parsed: usizeNumber of files successfully parsed.
files_skipped: usizeNumber of files skipped (excluded, too large, unknown lang).
files_errored: usizeNumber of files that errored during parsing.
total_lines: usizeTotal source lines across all parsed files.
parse_time_ms: u64Total parse time in milliseconds.
by_language: HashMap<Language, usize>Files parsed per language.
coverage: ParseCoverageStatsDetailed ingestion/skip accounting for auditability.
Trait Implementations§
Source§impl Clone for ParseStats
impl Clone for ParseStats
Source§fn clone(&self) -> ParseStats
fn clone(&self) -> ParseStats
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 moreAuto Trait Implementations§
impl Freeze for ParseStats
impl RefUnwindSafe for ParseStats
impl Send for ParseStats
impl Sync for ParseStats
impl Unpin for ParseStats
impl UnsafeUnpin for ParseStats
impl UnwindSafe for ParseStats
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