Pick every tool your company runs on. If you know roughly how much data is in one, add it under the card. Blank means you don’t know, which is fine.
Other tools not listedOptional
Selling a codebase too? Run this inside one of its repos. It works anywhere git does: GitHub, GitLab, Bitbucket, self-hosted.
curl -fsSL https://imladrislabs.dev/measure.sh | bashCopy
It prints contributors, lines of code and PR stats. Totals only; it sends nothing anywhere. Read it before you run it. Several repos: bash -s -- path/one path/two.
Prefer an agent? There’s a prompt for Claude Code, Codex or Cursor. Measure my codebase for the Imladris Labs intake form.
Compute these numbers across my repos from local git history, plus my code
host's API (GitHub, GitLab, Bitbucket, ...) if credentials are already set
up, and print them as one block I can paste into a form:
- Contributors: unique people across all branches, bots excluded; merge
identities that share an email or a name
- Total LoC: lines in git-tracked text files at HEAD, excluding lockfiles,
vendored or generated files, and binary files
- Number of PRs, and number of merged PRs. Say when a number is a lower
bound from git history rather than an exact count from the host's API
- Avg LoC per PR: mean and median of additions + deletions over merged
PRs, bot authors excluded
- PR size mix over those same merged PRs: % Simple (under 50 lines
changed), % Standard (50-300), % Rich (over 300)
Print aggregate numbers only - no file names, no code, no author names. Copy the prompt Codebase measurementsOptional Paste everything the script printed, the JSON line included.
Does your data include regulated or sensitive information?Optional Yes No