Skip to content

main.js Analysis

This page summarizes Glass Lint's's JavaScript and Obsidian catalogs applied to the latest plugin release main.js files. The analysis if fully static and doesn't execute plugin code.

Glass Lint Findings

Common rules detected in at least 25 plugins are shown below.

This chart counts each plugin once for it's highest severity Glass Lint finding.

ES Version

This chart shows the estimated minimum ECMAScript version required by the syntax found in each latest release main.js. The estimate comes fromGlass Lint's syntax analyzer.

Plugins targeting ES5 (52)

Minification

This chart shows whether the latest release main.js appears to be minified. Detection is heuristic and based on source formatting and symbol patterns. It is recommended to minify release builds to reduce file size and improve load times.

This chart shows the distribution of the minification score for the same heuristic, where 0 means least likely and 1 means most likely to be minified.

Release Size Distribution

The following chart shows the distribution of latest release main.js sizes per plugin. The average scanned release has a size of 663 KB, while the median is 73.1 KB.

Top 10 largest plugins