Analyze Shell Script — 12-Dimension Static Analyzer

Analyze any shell script across 12 dimensions — security, error handling, quality, portability, performance, dependencies, and more.

The 12 dimensions

1.  Executive summary + risk score
2.  Security vulnerabilities
3.  Error handling
4.  Code quality
5.  Best practices
6.  Performance issues
7.  Portability analysis
8.  Dependency audit
9.  Input validation audit
10. Resource management
11. Recommendations
12. Positive observations

What deep analysis reveals

Where a linter says "unquoted expansion", the analyzer explains the runtime consequence: what breaks, under what input, and how to fix it. It maps patterns to real-world bug classes, not just rule codes.

Categorized findings

Twelve grouped sections mean you can triage top-down — start with security, then error handling, then quality. No wall of undifferentiated warnings.

From analysis to action

Every finding has a suggested fix. Generate a full rewrite via the "Generate fixed script" action, or export findings as Markdown for a PR.

Frequently asked questions

Is deep analysis slow?
The first run takes 60–120 seconds. Subsequent runs on the same script are instant.
What script sizes are supported?
Up to 1 MB / 25,000 lines.
Do positive observations matter?
Yes — knowing what the script does right helps preserve good patterns during a rewrite.