Skip to content
CAI
Software that uses CAICheck a score

h5bp/html5-boilerplate

60.0

Adequate · 15 November 2026

132

lines of production code

JavaScript

primary language

5

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

Initial dist directory structure and build configuration

The dist directory is introduced with a foundational project structure, including an HTML5 boilerplate index.html, a 404 error page, and a site.webmanifest for progressive web app support. The build system is configured using Webpack (webpack.common.js, webpack.config.dev.js, webpack.config.prod.js) to bundle JavaScript and manage assets. Supporting configuration files such as .editorconfig, .gitattributes, and .gitignore are added to standardize code formatting and repository behavior.

dist · high confidence

Project configuration and build tooling setup

This change introduces the foundational configuration files and build scripts for the project. It adds \.editorconfig\ to enforce consistent coding styles (UTF-8, LF line endings, 2-space indentation), \.gitattributes\ to normalize line endings across platforms, and \.gitignore\ to exclude build artifacts and OS-specific files. It also includes \.cspell.json\ for spell-checking, \.npmrc\ for npm registry settings, and Prettier configuration (\.prettierrc.json\, \.prettierignore\). Furthermore, it establishes the build pipeline via \gulpfile.mjs\ (using Gulp 5, Webpack, and ESLint) and \eslint.config.mjs\ for JavaScript linting, alongside standard project metadata files like \LICENSE.txt\, \README.md\, and \CHANGELOG.md\.

(repo-wide) · high confidence

Architecture

Build system migrated to Webpack

The project's build process has been replaced with Webpack, introducing configuration files (webpack.common.js, webpack.config.dev.js, webpack.config.prod.js) that handle asset bundling, development server live-reload, and production optimization via plugins like HtmlWebpackPlugin and CopyPlugin. This change also establishes a standardized development environment through new .editorconfig and .gitattributes files, and updates the source structure to use app.js and style.css as the primary entry points.

src · high confidence

Behavioural changes

Renamed main.css to style.css in the distribution build

The primary CSS file in the distribution folder has been renamed from main.css to style.css. This change affects the output of the build process, meaning users referencing the default stylesheet in their HTML must update their link tags to point to style.css instead of main.css.

dist/css · high confidence

Test coverage

Added tests for build output file existence and content

New test files have been added to verify the integrity of the build output. The \file\_existence.mjs\ test ensures that the \dist\ and \archive\ directories contain exactly the expected set of files (such as \style.css\, \index.html\, and webpack configs) and no unexpected ones. The \file\_content.mjs\ test verifies that the generated \style.css\ includes the correct HTML5 Boilerplate version banner.

test · high confidence

Dependencies

Updated build dependencies and Node.js engine requirements

The project's development dependencies have been updated to newer major versions, including Gulp 5, ESLint 10, Mocha 12, and Webpack 5.110.3. The minimum supported Node.js version has been raised to 22, and the \package.json\ now includes an \overrides\ section to enforce specific versions for \diff\ and \serialize-javascript\.

(dependencies) · high confidence

Housekeeping

Placeholder file added to src/img directory

A .gitkeep file has been added to the src/img directory to ensure the folder is tracked by version control even when empty.

src/img · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 62 → 60 (-1.7)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.

Lenses

  • Code Health 72 → 70 (-2.6)
  • Architecture 69 → 69 (+0.0)
  • Maturity 88 → 88 (+0.0)
  • Readiness 68 → 75 (+7.4)
  • Security 66 → 50 (-16.0)
  • Accessibility 54 → 64 (+10.8)

Resolved (5)

  • High CVE: [GHSA redacted] (package-lock.json)
  • High CVE: [GHSA redacted] (package-lock.json)
  • High CVE: [GHSA redacted] (package-lock.json)
  • Leaked secret: hardcoded-credential (package-lock.json)
  • Low CVE: [GHSA redacted] (package-lock.json)

New (2)

  • Medium CVE: [GHSA redacted] (package-lock.json)
  • Medium CVE: [GHSA redacted] (package-lock.json)

Changes since last survey

  • 1 commits — 1 feature/other, 0 fixes

By area

  • (root) — 1 commit

Notable commits

  • change: chore: consolidate npm dependency upgrades (#3510)

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

h5bp/html5-boilerplate was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit abc52d91fb7cb36c35b50a11aa76b19d2935d7fe — the exact code this score is about.
  • Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.