How to use this developer tool
- Paste or upload JavaScript.
- Choose an analysis profile.
- Set the maximum preferred function length.
- Run the inspection and review severity-tagged findings.
Inspect JavaScript structure, risky patterns, nesting, async usage, DOM access, and maintainability signals in the browser without executing or uploading the source.
The inspector performs static, heuristic checks for risky APIs, loose equality, debugging statements, deep nesting, long functions, imports, exports, classes, promises, and timers.
Findings are static review signals, not proof of runtime failure. Each warning should be reviewed in context.
Input:
function run(value){
if(value == 1){
console.log(value);
eval("value + 1");
}
}Expected use: Run the selected mode and review the generated output and statistics.Paste the source and run Balanced analysis to receive structure, risk, and maintainability findings.
Enable Detect risky APIs to identify eval, new Function, document.write, string timers, and related patterns.
The inspector reports eval calls with line numbers and high-risk severity.
The report estimates complexity from control-flow operators and maximum nesting depth.
The inspector calculates approximate brace nesting and flags unusually deep sections.
| Module | Purpose |
|---|---|
| Input | Local browser processing |
| Analysis | Tool-specific lexical and structural logic |
| Output | Copy and download ready |
| Privacy | No upload or server execution |