Skip to main content

Crate deslop

Crate deslop 

Source
Expand description

Crate architecture overview.

The crate is intentionally layered from parsing to reporting:

  • analysis owns language-specific parsing and evidence extraction.
  • index resolves files, packages, and import relationships across a repository.
  • heuristics turns parsed evidence into findings for each language and rule family.
  • scan orchestrates repository traversal, parsing, indexing, evaluation, and reporting.
  • cli formats the public command-line experience around the library entry points.

Each subsystem keeps its facade small and pushes implementation detail into focused modules. When expanding the crate, prefer adding a new leaf module over growing a facade into a catch-all file.

Re-exports§

pub use benchmark::BenchmarkOptions;
pub use benchmark::benchmark_repository;
pub use benchmark::benchmark_repository_with_go_semantic;

Modules§

benchmark

Structs§

BenchmarkReport
FileReport
Finding
FunctionFingerprint
IndexSummary
ParseFailure
RuleMetadata
ScanOptions
ScanReport
StageStats
TimingBreakdown

Enums§

AnalysisError
ConfigError
Error
RuleConfigurability
RuleDefaultSeverity
RuleLanguage
RuleStatus
Severity

Constants§

DEFAULT_MAX_BYTES

Functions§

is_async_rollout_rule
is_detail_only_rule
read_to_string_limited
rule_binding_location
rule_metadata
rule_metadata_variants
rule_registry
scan_repository
scan_repository_with_go_semantic
syntax_error_for_source
validate_source

Type Aliases§

Result