Adds a "Codebase metrics" page to the documentation (mkdocs): a measured snapshot of the codebase and all submodules, counted with cloc.

It shows lines by language, a production vs test split, the code/comment/blank composition, and a per-submodule ranking, rendered as static inline SVG charts plus Markdown tables. No JavaScript or charting plugin is needed, so it builds in the docs as-is.

The page is meant to be refreshed periodically. A "Codebase metrics" nav entry is added to mkdocs.yml.

Issue fork orchestra-3607816

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 c0bc7bbd on 1.x
    task: #3607816 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.