Expand description
Typed analysis engine facade for fallow consumers.
fallow-core remains the internal orchestration backend. This crate owns
the typed boundary that editor, API, and embedding surfaces can depend on
without calling deprecated core entry points directly.
Re-exports§
pub use health::ComplexityRunOptions;pub use health::ComplexitySectionOptions;pub use health::DerivedComplexityOptions;pub use health::DerivedHealthSections;pub use health::HealthAnalysisResult;pub use health::HealthCoverageInputs;pub use health::HealthExecutionOptions;pub use health::HealthGateOptions;pub use health::HealthRunOptions;pub use health::HealthRunOptionsInput;pub use health::HealthSectionOptions;pub use health::HealthSort;pub use health::HealthThresholdOverrides;pub use health::RuntimeCoverageOptions;pub use health::derive_complexity_sections;pub use health::derive_health_run_options;pub use health::derive_health_sections;pub use health::validate_coverage_root_absolute;
Modules§
- baseline
- cache
- Parse cache helpers exposed through the engine boundary.
- changed_
files - Changed-file helpers exposed through the engine boundary for editor and embedding surfaces.
- churn
- Git churn helpers and types exposed through the engine boundary.
- codeowners
- CODEOWNERS file parser and ownership lookup.
- cross_
reference - Cross-reference helpers exposed through the engine boundary.
- dead_
code - Dead-code result helpers exposed through the engine boundary.
- discover
- Discovery helpers and types exposed through the engine boundary.
- duplicates
- Duplication result types exposed through the engine boundary.
- error
- extract
- Extracted semantic types exposed through the engine boundary.
- flags
- Feature flag analysis owned by the engine boundary.
- git_env
- Git process environment helpers exposed through the engine boundary.
- graph
- Module graph types exposed through the engine boundary.
- health
- Typed health result contracts exposed through the engine boundary.
- plugins
- Plugin registry helpers and types exposed through the engine boundary.
- public_
api - Public API graph helpers exposed through the engine boundary.
- resolve
- Module resolution types exposed through the engine boundary.
- results
- Analysis result types exposed through the engine boundary.
- security
- Security metadata helpers exposed through the engine boundary.
- suppress
- Suppression helpers exposed for editor and embedding surfaces.
- trace
- Read-only trace helpers exposed through the engine boundary.
- trace_
chain - Symbol trace types exposed through the engine boundary.
- validate
- vital_
signs - Vital signs computation and snapshot persistence.
Structs§
- Analysis
Discovery - Reusable discovery prelude for a resolved project.
- Analysis
Results - Complete analysis results.
- Analysis
Session - Reusable engine session for one resolved project.
- Analysis
Session Parts - Owned session parts for runners that need to continue an existing pipeline.
- Clone
Family - A clone family: a set of clone groups that share the same file set.
- Clone
Group - A group of code clones – the same (or normalized-equivalent) code appearing in multiple places.
- Clone
Instance - A single instance of duplicated code at a specific location.
- Dead
Code Analysis - Typed dead-code analysis result.
- Dead
Code Analysis Artifacts - Typed dead-code analysis result with all reusable pipeline artifacts.
- Dead
Code Analysis Output - Typed dead-code analysis result with retained parser artifacts.
- Dead
Code Analysis With Hashes - Typed dead-code analysis result with per-file source hashes.
- Default
Ignore Skips - Human-format-only skipped-file stats for built-in duplicates ignores.
- Discovered
File - A discovered source file on disk.
- Duplication
Analysis - Typed duplication analysis result.
- Duplication
Report - Overall duplication analysis report.
- Duplication
Stats - Aggregate duplication statistics.
- Engine
Error - Error type exposed by the typed engine boundary.
- FileId
- Compact file identifier.
- Mirrored
Directory - A detected mirrored directory pattern: two directory prefixes that contain
identical files (e.g.,
src/anddeno/lib/). - Module
Info - Extracted module information from a single file.
- Project
Analysis Output - Typed project analysis result combining dead-code and duplication outputs.
- Project
Config - Resolved project config plus the config file path when one was loaded.
- Project
Config Options - Scalar config-loading knobs for one analysis family.
- Refactoring
Suggestion - A refactoring suggestion for a clone family.
Functions§
- analyze
- Run dead-code analysis for a resolved config.
- analyze_
retaining_ modules - Run dead-code analysis while retaining module and file artifacts.
- analyze_
with_ file_ hashes - Run dead-code analysis with source hashes for drift-sensitive fixers.
- analyze_
with_ parse_ result - Run dead-code analysis from pre-parsed modules.
- analyze_
with_ trace - Run dead-code analysis with trace timings and retained graph artifacts.
- analyze_
with_ usages - Run dead-code analysis with export usage collection for a resolved config.
- analyze_
with_ usages_ and_ complexity - Run dead-code analysis with export usage and retained complexity artifacts.
- changed_
files - Resolve changed files for a git ref relative to a project root.
- config_
for_ project - Resolve the analysis config for a project.
- config_
for_ project_ analysis - Resolve config for a specific analysis without depending on the CLI crate.
- discover_
files_ with_ plugin_ scopes - Discover source files for a resolved config, including plugin scopes.
- find_
duplicates - Run duplication detection on a discovered file set.
- find_
duplicates_ touching_ files_ with_ defaults - Run focused duplication detection and include metadata about built-in ignored files.
- find_
duplicates_ with_ defaults - Run duplication detection and include metadata about built-in ignored files.
- health_
shared_ parse_ data_ from_ artifacts - Build health shared parse data from retained dead-code artifacts.
- resolve_
cache_ max_ size_ bytes - Resolve the parse-cache size limit for a resolved config.
- trace_
symbol_ chain - Run symbol-level call-chain tracing through the engine boundary.
Type Aliases§
- Engine
Result - Result alias for typed engine operations.