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 · Dec 6, 2026

Apex PMD has 735,375 recorded installs on VS Code Marketplace, an increase of 0.2% over the past 30 days, ranking #667 of 2,515 tracked listings.

Installs
735,375
Official API · Dec 6, 2026
7-day growth
+0.0%
+342 installs
30-day growth
+0.2%
+1.5K installs
90-day growth
—
Insufficient history
Rank
#667
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: 735,375 installs as of Dec 6, 2026.Apex PMDInstalls on VS Code Marketplace · Last 90 days735,375installs732.5K733K733.5K734K734.5K735K735.5KSep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
Apex PMD installs on VS Code Marketplace, last 90 days: 735,375 installs as of Dec 6, 2026.

7/30/90-day growth

Apex PMD installs growth on VS Code Marketplace: +0.0% over 7 days, +0.2% over 30 days, 90-day growth unavailable.Apex PMDInstalls growth on VS Code Marketplace735,375installs now7-day growth+342 installs+0.0%30-day growth+1,512 installs+0.2%90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 6, 2026pluginstats.com
Apex PMD installs growth on VS Code Marketplace: +0.0% over 7 days, +0.2% over 30 days, 90-day growth unavailable.

Ranking history

Apex PMD VS Code Marketplace ranking history: currently #667 (by installs).Apex PMDVS Code Marketplace ranking · by installs · Last 90 days#667current rank#665#666#667#668#669#670#671#672Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec 6, 2026pluginstats.com
Apex PMD VS Code Marketplace ranking history: currently #667 (by installs).

Ratings over time

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

Listing placement

All VS Code Marketplace2,515 listings · 126 pages · 1,259 shown · page 34, #10 (overall #670)
All VS Code Marketplace: every listing in installs order

Listing placement

Linters250 listings · 13 pages · page 6, #3 (overall #103)
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 (50)
Recent installs observations for Apex PMD
Date (UTC)InstallsChange vs. previous
735,375+15
735,360+65
735,295+48
735,247+58
735,189+76
735,113+69
735,044+11
735,033+13
735,020+67
734,953+71
734,882+33
734,849+96
734,753+38
734,715—

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 Dec 6, 2026. See the methodology.