Skip to content
PluginStats

Apex PMD installs statistics

By Charlie Jonas · VS Code Marketplace · Linters

PMD static analysis for Salesforce Apex

View on VS Code Marketplace Fresh · Oct 20, 2026

Apex PMD has 732,937 recorded installs on VS Code Marketplace, ranking #669 of 2,501 tracked listings.

Installs
732,937
Official API · Oct 20, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#669
Among tracked VS Code Marketplace listings

Rating: 4.75 / 5 from 4 ratings

About Apex PMD

vscode Apex Pmd

Visual Studio Marketplace Version Visual Studio Marketplace Installs - Azure DevOps Extension Open VSX Version Open VSX Downloads build

Allows you to run Apex Static Analysis directly in vscode on Apex, VisualForce & other XML metadata files.

Features

To start the command you can click in the menu on Help/Show All Commands or press the hotkey <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>P</kbd> and type Apex.

Apex PMD

Current actions Supported
  • Run analysis on file open
  • Run analysis on file save
  • Run analysis on file change (new!)
  • Run analysis on entire workspace
  • Run analysis on single file
  • Ability to define your own ruleset

System Requirements

Configuration

  • rulesets (optional): set to override default ruleset (see "Defining your own ruleset" for more details)

  • runOnFileOpen: run every time a file is opened in vscode

  • runOnFileSave: run every time a file is saved

  • runOnFileChange: Run when a file is changed. NOTE: this is "debounced" to prevent performance issues. Delay can be adjusted via onFileChangeDebounce.

  • priorityErrorThreshold: Determines at what priority level 'errors' will be added. Anything less will be a warning or hint

  • priorityWarnThreshold: Determines at what priority level 'warnings' will be added. Anything less will be a hint

  • enableCache: Creates a cache file for PMD to run faster. Will create a .pmdCache file in your workspace

  • pmdBinPath (prev. pmdPath) (optional): set to override the default pmd binaries. This should point to the PMD folder which contains folders lib and bin. Most likely it is called libexec. WARNING: Since v0.6.0, this extension no longer supports PMD 6x. If you receive an error, please clear this setting!

  • additionalClassPaths (optional): set of paths to be appended to classpath. Used to find jar files containing custom rule definitions. Can be absolute or relative to workspace.

  • commandBufferSize Size of buffer used to collect PMD command output (MB), may need to be increased for very large projects

  • jrePath (Optional) Path to JRE (Folder that contains which contains bin/java)

  • apexRootDirectory (optional, since 0.9.0): Whether and how to set PMD_APEX_ROOT_DIRECTORY env variable. This variable should point to the sfdx project directory, which contains the file sfdx-project.json.

    This is needed for the rule UnusedMethod which utilizes Apex Language Server which needs a well-formed sfdx project.

    • off = Do not set PMD_APEX_ROOT_DIRECTORY at all
    • automatic = (default) Automatically find the nearest sfdx-project.json file in a parent directory and use that directory
    • custom = Use a custom location for PMD_APEX_ROOT_DIRECTORY provided by "customValue". It should point to the directory where the sfdx-project.json file is located. This is only used, if the "mode"=="custom".
  • enableDebugOutput: Logs PMD's debug messages to help troubleshooting.

Defining your own "Ruleset"

I recommend you use the default ruleset as a starting point.

Set apexPMD.rulesets string array to reference your custom rulesets. You can either use the absolute paths, or a relative paths from your workspace (EG my-apex-rules.xml).

You can also mention the default ruleset in apexPMD.rulesets. To do this add default value to the array.

Apex Ruleset Reference

NOTE: If you move away from the default ruleset in an sfdx project, make sure to exclude the .sfdx and .sf generated classes by keeping these lines:

<exclude-pattern>.*/.sfdx/.*</exclude-pattern>

<exclude-pattern>.*/.sf/.*</exclude-pattern>

Using custom rules written in Java

If you want to use your own custom rules from a jar file, then the jar file must be on the classpath. By default, the PMD folder and the workspace root folder are included in the classpath. You can add further folders using the additionalClassPaths setting. This "Hello world" example is a good starting place for beginners.

Troubleshooting

The plugin creates an own output channel "Apex PMD" in the output view. This shows the output of the PMD command that is executed in the background. In case of any problem, this output channel might contain the underlying error. When reporting an issue, please include any error messages from this output channel.

Developing/Contributing

Prerequisites
  • node
  • bash: npm calls shell scripts and therefore bash is needed. Under Windows, make sure to run npm from within git-bash.
  • java: needs to be installed already. It is needed for executing PMD later on.
Setup & Run
  1. git clone
  2. npm install
  3. debug -> run extension…

Description from the VS Code Marketplace listing.

  • Apex
  • PMD
  • Salesforce
  • Static Analysis
  • visualforce

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

Apex PMD installs on VS Code Marketplace, last 90 days: 732,937 installs as of Oct 20, 2026.Apex PMDInstalls on VS Code Marketplace · Last 90 days732,937installs732.8K732.8K732.8K732.9K732.9K732.9K732.9K732.9KJul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Oct 20, 2026 · 5 observations · Updated Oct…pluginstats.com
Apex PMD installs on VS Code Marketplace, last 90 days: 732,937 installs as of Oct 20, 2026.

7/30/90-day growth

Apex PMD installs growth on VS Code Marketplace: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.Apex PMDInstalls growth on VS Code Marketplace732,937installs now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 20, 2026pluginstats.com
Apex PMD installs growth on VS Code Marketplace: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

Apex PMD VS Code Marketplace ranking history: currently #669 (by installs).Apex PMDVS Code Marketplace ranking · by installs · Last 90 days#669current rank#667#668#669#670#671Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 16, 2026 – Oct 20, 2026 · 5 observations · Updated Oct 20, 2026pluginstats.com
Apex PMD VS Code Marketplace ranking history: currently #669 (by installs).

Ratings over time

Apex PMD ratings on VS Code Marketplace, last 90 days: 4 ratings as of Oct 20, 2026.Apex PMDRatings on VS Code Marketplace · Last 90 days4ratings3.63.844.24.4Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20ratingsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Oct 20, 2026 · 5 observations · Updated Oct…pluginstats.com
Apex PMD ratings on VS Code Marketplace, last 90 days: 4 ratings as of Oct 20, 2026.

Listing placement

All VS Code Marketplace2,501 listings · 126 pages · 1,251 shown · page 34, #9 (overall #669)
All VS Code Marketplace: every listing in installs order

Listing placement

Linters252 listings · 13 pages · page 6, #5 (overall #105)
Linters: every listing in installs order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (5)
Recent installs observations for Apex PMD
Date (UTC)InstallsChange vs. previous
732,937+59
732,878+24
732,8540
732,854+35
732,819—

Similar VS Code Marketplace Linters plugins

All 20 Apex PMD alternatives

Data source

Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.

Listing: https://marketplace.visualstudio.com/items?itemName=chuckjonas.apex-pmd. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.