eScript Trouble Detector
How It Works
Three Steps to Cleaner Code
Paste Code
Drop your Siebel eScript code into the analyzer. Supports full function bodies and script files.
Detect Issues
Pattern-matching engine scans for memory leaks, performance traps, reliability holes, and hardcodes.
Fix & Ship
Review each finding with line numbers, severity, and actionable recommendations. Zero surprises in production.
Detection Rules
Four Layers of Protection
Each category targets a specific class of defects, from critical memory corruption to subtle maintenance traps.
Memory Leaks
CriticalDetects Siebel objects created via GetBusObject(), GetBusComp(), NewPropertySet() that are never nulled. Flags missing finally blocks for cleanup.
Performance Issues
HighCatches ExecuteQuery() inside loops, missing ActivateField() before queries, and NextRecord() without FirstRecord() calls.
Reliability & Logging
MediumFinds empty catch blocks that swallow errors silently and missing throw(e) statements that mask system-level failures.
Code Style & Anti-Patterns
LowIdentifies hardcoded Row IDs matching Siebel patterns and hardcoded file paths that break across Dev, Test, and Prod environments.
Live Analyzer
Paste Your eScript, Find the Trouble
No Analysis Yet
Paste code and click Analyze to detect issues
Technical Reference
RegExp Detection Patterns
The engine behind each detection category, distilled into match patterns and rationale.