CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-webpack-bundle-analyzer

Webpack plugin and CLI utility that represents bundle content as convenient interactive zoomable treemap

98

1.18x
Quality

Pending

Does it follow best practices?

Impact

98%

1.18x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-9/

{
  "context": "This evaluation assesses how effectively the engineer uses webpack-bundle-analyzer's core APIs to extract and report comprehensive size metrics (stat, parsed, gzip, brotli) from webpack bundle statistics.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses getViewerData function",
      "description": "Uses webpack-bundle-analyzer's `getViewerData()` function from the analyzer module to process webpack stats and bundle files, which is the primary API for extracting size data",
      "max_score": 30
    },
    {
      "name": "Extracts stat sizes",
      "description": "Correctly extracts and returns statSize values for assets from the webpack-bundle-analyzer output, representing the original input size before transformations",
      "max_score": 15
    },
    {
      "name": "Extracts parsed sizes",
      "description": "Correctly extracts and returns parsedSize values for assets from the webpack-bundle-analyzer output, representing the output size after minification and transformations",
      "max_score": 15
    },
    {
      "name": "Handles gzip compression",
      "description": "Correctly uses the compressionAlgorithm option set to 'gzip' and extracts gzipSize values from the webpack-bundle-analyzer results when that algorithm is specified",
      "max_score": 15
    },
    {
      "name": "Handles brotli compression",
      "description": "Correctly uses the compressionAlgorithm option set to 'brotli' and calculates/extracts brotli compressed sizes from the webpack-bundle-analyzer results when that algorithm is specified",
      "max_score": 15
    },
    {
      "name": "Proper stats reading",
      "description": "Uses webpack-bundle-analyzer's `readStatsFromFile()` function or similar API to properly read and parse the webpack stats JSON file",
      "max_score": 10
    }
  ]
}

tile.json