Paste Apex classes or triggers to review common governor-limit risks, bulkification gaps, loop-heavy SOQL or DML, and async context hints directly in the browser.
Pulsagi Developer Toolbox
AST-lite parser
Context-aware loop analysis
Batch / Queueable hints
No server required
Apex / Trigger Input
1
Drag and drop an Apex class or trigger file here
Risk score
0
Risk level
Low
Findings
0
Loops
0
LowMediumHigh
Ready to analyze
Paste code and run analysis. This analyzer is heuristic, but it now tracks block context more accurately so DML and SOQL are only flagged when they truly appear inside loops or risky nested constructs.
Findings
No findings yet.
Parser Notes
What changed in V3
Strings and comments are stripped before rule evaluation, reducing noisy matches.
Curly-brace blocks are tracked, so statements are associated to loop or method scope more accurately.
Bulk DML outside loops, like update scope; in Batch Apex, is no longer treated as loop DML.
SOQL-for loops are recognized as safe query-iteration patterns instead of being flagged like per-record queries.
Async constructs such as Batch, Queueable, Future, and Schedulable add context-specific guidance.
Reports now export from the analyzer state itself, so the downloaded output stays aligned with the findings on screen.
Line numbers are mapped from sanitized code back to original source lines.
Salesforce Context
Run analysis to see execution-model guidance, governor-limit reminders, and context-specific review notes for the pasted Apex.