Skip to content
PluginStats

CodeMetrics installs statistics

By Kiss Tamás (2 listings) · VS Code Marketplace · Other

Computes complexity in TypeScript / JavaScript files.

View on VS Code Marketplace Fresh · Dec 6, 2026

CodeMetrics has 1,195,602 recorded installs on VS Code Marketplace, an increase of 0.5% over the past 30 days, ranking #492 of 2,515 tracked listings.

Installs
1,195,602
Official API · Dec 6, 2026
7-day growth
+0.1%
+1.3K installs
30-day growth
+0.5%
+6K installs
90-day growth
—
Insufficient history
Rank
#492
Among tracked VS Code Marketplace listings

Rating: 4.42 / 5 from 50 ratings

About CodeMetrics

Code Metrics - Visual Studio Code Extension

Computes complexity in TypeScript / JavaScript / Lua files.

Complexity calculation

The steps of the calculation:

  • create an AST from the input source file
  • walk through each and every node of it
  • depending on the type of the node and the configuration associated with it create a new entry about the node. This entry contains everything necessary for further use (e.g. a textual representation for the node, complexity increment, child nodes etc.)
  • show the sum of complexity of child nodes for methods and the maximum of child nodes for classes

Please note that it is not a standard metric, but it is a close approximation of Cyclomatic complexity.

Please also note that it is possible to balance the complexity calculation for the project / team / personal taste by adjusting the relevant configuration entries (content assist is provided for all of them for easier configuration).

For example if one prefers guard clauses, and is ok with all the branches in switch statements then the following could be applied:

"codemetrics.nodeconfiguration.ReturnStatement": 0,
"codemetrics.nodeconfiguration.CaseClause": 0,
"codemetrics.nodeconfiguration.DefaultClause": 0

If You want to know the causes You can click on the code lens to list all the entries for a given method or class. (This also allows You to quickly navigate to the corresponding code)

Metric details example, showing how one might check the overall complexity for a method by clicking on the codelens

It looks like this

First sample, demonstrating a constructor with overall complexity of 21

Second sample, demonstrating a constructor with overall complexity of 1

Third sample, demonstrating a method with overall complexity of 5

Install

How to install Visual Studio Code extensions

Direct link to Visual Studio Code Marketplace

Customization

In the workspace settings one can override the defaults. For a complete list please check the configuration section in the package.json. For the most commonly used ones, one should do a search for codemetrics.basics in the settings ui.

{
  // highest complexity level will be set when it exceeds 15
  "codemetrics.basics.ComplexityLevelExtreme" : 15,

  // Hides code lenses with complexity lesser than the given value
  "codemetrics.basics.CodeLensHiddenUnder" : 5,

  // Description for the highest complexity level
  "codemetrics.basics.ComplexityLevelExtremeDescription" : "OMG split this up!",

  // someone uses 'any', it must be punished
  "codemetrics.nodeconfiguration.AnyKeyword": 100
}

Commands

  • Toggle code lenses for arrow functions
  • Toggle code metrics

They can be bound in the keybindings.json (File -> Preferences -> Keyboard Shortcuts)

{ "key": "f4",                    "command": "codemetrics.toggleCodeMetricsForArrowFunctions",
                                     "when": "editorTextFocus" },
{ "key": "f5",                    "command": "codemetrics.toggleCodeMetricsDisplayed",
                                     "when": "editorTextFocus" }
Change Log…

Description from the VS Code Marketplace listing.

  • code
  • html
  • javascript
  • javascriptreact
  • lua
  • metrics
  • typescript
  • typescriptreact
  • vscode
  • vue

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

CodeMetrics installs on VS Code Marketplace, last 90 days: 1,195,602 installs as of Dec 6, 2026.CodeMetricsInstalls on VS Code Marketplace · Last 90 days1,195,602installs1.2M1.2M1.2M1.2M1.2M1.2M1.2MSep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec…pluginstats.com
CodeMetrics installs on VS Code Marketplace, last 90 days: 1,195,602 installs as of Dec 6, 2026.

7/30/90-day growth

CodeMetrics installs growth on VS Code Marketplace: +0.1% over 7 days, +0.5% over 30 days, 90-day growth unavailable.CodeMetricsInstalls growth on VS Code Marketplace1,195,602installs now7-day growth+1,279 installs+0.1%30-day growth+6,027 installs+0.5%90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 6, 2026pluginstats.com
CodeMetrics installs growth on VS Code Marketplace: +0.1% over 7 days, +0.5% over 30 days, 90-day growth unavailable.

Ranking history

CodeMetrics VS Code Marketplace ranking history: currently #492 (by installs).CodeMetricsVS Code Marketplace ranking · by installs · Last 90 days#492current rank#489#490#491#492#493#494Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 16, 2026 – Dec 6, 2026 · 50 observations · Updated Dec 6, 2026pluginstats.com
CodeMetrics VS Code Marketplace ranking history: currently #492 (by installs).

Ratings over time

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

Listing placement

All VS Code Marketplace2,515 listings · 126 pages · 1,258 shown · page 25, #13 (overall #493)
All VS Code Marketplace: every listing in installs order

Listing placement

Other764 listings · 39 pages · page 7, #5 (overall #125)
Other: 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 CodeMetrics
Date (UTC)InstallsChange vs. previous
1,195,602+137
1,195,465+172
1,195,293+200
1,195,093+241
1,194,852+197
1,194,655+231
1,194,424+101
1,194,323+197
1,194,126+162
1,193,964+295
1,193,669+183
1,193,486+277
1,193,209+199
1,193,010—

Similar VS Code Marketplace Other plugins

All 20 CodeMetrics alternatives

CodeMetrics on other marketplaces

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=kisstkondoros.vscode-codemetrics. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.