Skip to main content

Crate sloc_core

Crate sloc_core 

Source

Re-exports§

pub use baseline::check_against_baseline;
pub use baseline::resolve_baselines_path;
pub use baseline::BaselineEntry;
pub use baseline::BaselineStore;
pub use coverage::aggregate_line_coverage;
pub use coverage::lookup_coverage;
pub use coverage::parse_lcov;
pub use coverage::FileCoverage;
pub use delta::compute_delta;
pub use delta::FileChangeStatus;
pub use delta::FileDelta;
pub use delta::ScanComparison;
pub use delta::SummaryDelta;
pub use history::RegistryEntry;
pub use history::ScanRegistry;
pub use history::ScanSummarySnapshot;
pub use history::WatchedDirsStore;

Modules§

baseline
Named baseline snapshots — save a scan result as a pinned reference point and compare future scans against it.
coverage
delta
history

Structs§

AnalysisRun
EffectiveCounts
EnvironmentMetadata
FileRecord
LanguageSummary
ProgressCounters
Atomics shared between analyze() and the caller so the caller can poll scan progress.
SubmoduleSummary
Per-submodule aggregated stats produced when submodule_breakdown is enabled.
SummaryTotals
ToolMetadata

Enums§

FileStatus

Functions§

analyze
Errors
detect_submodules
Parse .gitmodules in root and return (name, relative_path) for each submodule found.
read_json
Errors
write_json
Errors