Add a Codebase metrics documentation page to the mkdocs site: a measured snapshot of the codebase and all submodules, counted with cloc.

  • Lines by language, a production vs test split, the code/comment/blank composition, and a per-submodule ranking, rendered as static inline SVG charts (no JavaScript or charting plugin). Verified with mkdocs build --strict.
  • Nav entry "Codebase metrics" added to mkdocs.yml.

Snapshot (1.x, 2026-07-02): 30,518 lines of code across 217 files; production 20,109 / test 10,409.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mably created an issue. See original summary.

  • mably committed 15a1eb30 on 1.x
    task: #3607869 Docs: add a codebase metrics page (cloc)
    
    By: mably
    
mably’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.