pub struct ParseCoverageStats {
pub files_seen: usize,
pub files_candidate: usize,
pub skipped_unknown_language: usize,
pub skipped_language_filter: usize,
pub skipped_excluded_pattern: usize,
pub skipped_too_large: usize,
pub skipped_test_file: usize,
pub read_errors: usize,
pub parse_errors: usize,
pub unsupported_extensions: HashMap<String, usize>,
}Expand description
Detailed counters for ingestion fidelity and skip reasons.
Fields§
§files_seen: usizeNumber of filesystem files seen by the walker.
files_candidate: usizeNumber of files that made it into parser candidates.
skipped_unknown_language: usizeFiles skipped because language could not be resolved.
skipped_language_filter: usizeFiles skipped by an explicit language filter.
skipped_excluded_pattern: usizeFiles skipped by configured exclude patterns.
skipped_too_large: usizeFiles skipped because they exceeded size limits.
skipped_test_file: usizeFiles skipped because test files were disabled.
read_errors: usizeFiles that failed to read from disk.
parse_errors: usizeFiles that failed during parser/extractor execution.
unsupported_extensions: HashMap<String, usize>Extension breakdown of unsupported files (e.g. {“xml”: 42, “txt”: 10}).
Implementations§
Source§impl ParseCoverageStats
impl ParseCoverageStats
Sourcepub fn total_skipped(&self) -> usize
pub fn total_skipped(&self) -> usize
Total number of files skipped for known reasons.
Trait Implementations§
Source§impl Clone for ParseCoverageStats
impl Clone for ParseCoverageStats
Source§fn clone(&self) -> ParseCoverageStats
fn clone(&self) -> ParseCoverageStats
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 moreSource§impl Debug for ParseCoverageStats
impl Debug for ParseCoverageStats
Source§impl Default for ParseCoverageStats
impl Default for ParseCoverageStats
Source§fn default() -> ParseCoverageStats
fn default() -> ParseCoverageStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ParseCoverageStats
impl RefUnwindSafe for ParseCoverageStats
impl Send for ParseCoverageStats
impl Sync for ParseCoverageStats
impl Unpin for ParseCoverageStats
impl UnsafeUnpin for ParseCoverageStats
impl UnwindSafe for ParseCoverageStats
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