Apex PMD
By Chuck Jonas
What It Does
Static code analysis for Apex. Catches common mistakes, security vulnerabilities, and code style issues before they hit production.
Glen's Take
This catches the mistakes I document in The Graveyard before they happen. SOQL in loops, hardcoded IDs, missing null checks — PMD flags them all. I run it on every save. The default ruleset is good; customize it to match your team's standards.
Tags
Need help with your Salesforce tooling stack?
I'll help you pick and configure the right tools for your team.
View Consulting →Enjoyed this? Get more like it.
Glen's Musings — AI, investing, and building things. Occasional. Free.
More VS Code Tools
Salesforce Extension Pack
Official VS Code extension pack from Salesforce. Apex language support, SOQL builder, LWC support, org browser, and deployment tools.
Read moreOpen SourceApex Log Analyzer
Visualize Apex debug logs as a flame chart. See exactly where time is spent, which methods are called, and where governor limits are consumed.
Read moreOpen SourceSOQL Editor / Inline SOQL
Execute SOQL queries directly from VS Code with inline results. Supports query history and result export.
Read more