Expand description
Programmatic Rust API reused by the NAPI bindings.
Structs§
- Analysis
Options - Shared options for all one-shot analyses.
- Complexity
Options - Options for complexity / health analysis.
- Dead
Code Filters - Issue-type filters for the dead-code analysis.
- Dead
Code Options - Options for dead-code-oriented analyses.
- Duplication
Options - Options for duplication analysis.
- Programmatic
Error - Structured error surface for the programmatic API.
Enums§
- Complexity
Sort - Sort criteria for complexity findings.
- Duplication
Mode - Programmatic duplication mode selection.
- Ownership
Email Mode - Privacy mode for ownership-aware hotspot output.
- Target
Effort - Effort filter for refactoring targets.
Functions§
- compute_
complexity - Run the health / complexity analysis and return the CLI JSON contract as a value.
- compute_
health - Alias for
compute_complexitywith a more product-oriented name. - detect_
boundary_ violations - Run the boundary-violation analysis and return the standard dead-code JSON envelope
filtered down to the
boundary_violationscategory. - detect_
circular_ dependencies - Run the circular-dependency analysis and return the standard dead-code JSON envelope
filtered down to the
circular_dependenciescategory. - detect_
dead_ code - Run the dead-code analysis and return the CLI JSON contract as a value.
- detect_
duplication - Run the duplication analysis and return the CLI JSON contract as a value.