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

  • Lines by language, a production vs test split, the code/comment/blank composition, a per-module ranking, a test-suite section (classes and methods by type), and an architecture-surface section (services, plugins, hooks, routes, entities, config schema). Static inline SVG charts, no JavaScript.
  • Enables the tables Markdown extension (needed to render the metric tables), adds a nav entry, and adds cloc to the cspell word list. Verified with mkdocs build --strict.

Issue fork domain-3607991

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’s picture

Status: Active » Needs review

  • mably committed 5e03e7c6 on 3.0.x
    task: #3607991 Add a codebase metrics documentation page
    
    By: mably
    
mably’s picture

Status: Needs review » 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.

  • mably committed 4147c874 on 3.x
    task: #3607991 Add a codebase metrics documentation page
    
    By: mably
    

Status: Fixed » Closed (fixed)

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