How to use this developer tool
- Paste Rust source code.
- Choose the inspection focus.
- Set the function-length warning threshold.
- Inspect and review the highest-priority findings first.
Inspect Rust code for maintainability, unsafe density, unwrap and panic use, clone and allocation patterns, function size, nesting, and async-risk heuristics.
The inspector produces static and heuristic findings with maintainability, safety, complexity, and error-handling scores. Compiler-dependent conclusions are clearly marked.
Ownership, borrow, and lifetime findings are heuristic. Run cargo check and cargo clippy for compiler-level verification.
The page loads a working Rust Inspector example. Run the tool to compare the sample input with the generated output and status summary.
Run a balanced or complexity-focused inspection to estimate function size, branches, nesting, and risk density.
The inspector counts these calls and flags higher-risk contexts such as loops and reusable functions.
No. Borrow and lifetime observations are heuristic and require cargo check for verification.
No. It performs browser-based formatting, conversion, structural parsing, or heuristic analysis. Always verify production code with the official toolchain.
No processing is implemented by the page itself in your browser. Review your hosting and analytics configuration separately if you add external services.
| Module | Coverage |
|---|---|
| Scores | Maintainability, safety, complexity |
| Findings | Static, heuristic, compiler required |
| Focus | Safety, complexity, async |