Siebel eScript Static Analysis

eScript Trouble Detector

4 Detection Categories
Instant Analysis
Client-Side Only

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

Critical

Detects Siebel objects created via GetBusObject(), GetBusComp(), NewPropertySet() that are never nulled. Flags missing finally blocks for cleanup.

GetBusObject GetBusComp NewPropertySet = null check

Performance Issues

High

Catches ExecuteQuery() inside loops, missing ActivateField() before queries, and NextRecord() without FirstRecord() calls.

Query in Loop Missing ActivateField NextRecord Check

Reliability & Logging

Medium

Finds empty catch blocks that swallow errors silently and missing throw(e) statements that mask system-level failures.

Empty Catch Missing Throw Silent Failure

Code Style & Anti-Patterns

Low

Identifies hardcoded Row IDs matching Siebel patterns and hardcoded file paths that break across Dev, Test, and Prod environments.

Hardcoded ROW_ID File Paths Environment Trap

Live Analyzer

Paste Your eScript, Find the Trouble

eScript Input

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.