← all organisations

HMPO / Code

7 languages, 32.0 MB of source, and what the live estate is written in today.

Language figures come from GitHub's own per-repository byte counts, which measure source rather than a single headline label. File counts and repository sizes come from the mirrors themselves. The two tell different stories, and the difference is the point.

The codebase

7
languages in use
32.0 MB of source
25.7k
files at HEAD
across every analysed repository
0 B
on disk as mirrors
full history, every branch and tag
15.5 MB
largest repository
passports-oix-examples

What stands out

One archived repository holds 20% of all the bytes.

passports-oix-examples is 15.5 MB of git - a 2013 static snapshot of www.gov.uk, not source code. It single-handedly makes HTML the largest language by volume (68% of all source bytes). Any size or language statistic that does not exclude it is measuring an archive, not a codebase.

Sizes here are GitHub's reported figures.

This organisation was harvested with blobless partial clones, which fetch every commit and file path but not file contents, so there is no local size to measure against. Checked elsewhere in this dataset against 1,526 fully mirrored repositories, GitHub's reported size is accurate to within about six percent.

Ruby is the house language, but its share is falling.

Ruby is the primary language of 0% of archived repositories but only 0% of live ones. Python, Go, TypeScript and HCL have taken the difference - the signature of a shift from monolithic Rails publishing apps toward data pipelines, infrastructure-as-code and platform tooling.

Most repositories are small; a handful are enormous.

67% of repositories are under a megabyte of git data. The estate is not a monolith - it is a very long tail of small services, gems and prototypes around a few large publishing applications.

Languages, two ways

By volume of source

Bytes of code. Dominated by archived static HTML.

HTMLHTML: 21.8 MB21.8 MBJavaScriptJavaScript: 10.1 MB10.1 MBNunjucksNunjucks: 64.2 kB64.2 kBSCSSSCSS: 51.4 kB51.4 kBCSSCSS: 3.8 kB3.8 kBShellShell: 2.8 kB2.8 kBProcfileProcfile: 115 B115 B

By number of repositories

How many repositories name each language as their primary one. A better guide to what engineers actually work in.

JavaScriptJavaScript: 2525SCSSSCSS: 1010HTMLHTML: 99NunjucksNunjucks: 66ProcfileProcfile: 33CSSCSS: 22ShellShell: 11

Live estate versus archive

The same language ranking, split by whether the repository is still active. The shift is the clearest signal of technical direction in the whole dataset.

Active repositories

JavaScriptJavaScript: 2020HTMLHTML: 55

Archived repositories

JavaScriptJavaScript: 00HTMLHTML: 00

Scale

Repository size distribution

Git data per repository, log-ish buckets.

1612840< 10 kB: 2< 10 kB< 100 kB: 0< 100 kB< 1 MB: 16< 1 MB< 10 MB: 5< 10 MB< 100 MB: 4< 100 MB100 MB +: 0100 MB +

Commits against files

Each circle is a repository, sized by number of distinct authors. Both axes are logarithmic. The diagonal band is the normal relationship between codebase size and churn; outliers above it are long-lived apps with heavy iteration, below it are dumps and imports.

601.0309.0158.981.742.014.075.5407.62.2k11.9kLEO-prototypes: 484 commits, 1,729 files, 4 authorsbirth-registration: 204 commits, 11,868 files, 5 authorsbirths: 184 commits, 495 files, 9 authorscivil-registration-prototype: 192 commits, 136 files, 17 authorscivilregprototype2.0: 260 commits, 10,196 files, 8 authorshmpo-app: 134 commits, 96 files, 17 authorshmpo-cached-model: 107 commits, 14 files, 16 authorshmpo-components: 601 commits, 127 files, 45 authorshmpo-config: 66 commits, 22 files, 13 authorshmpo-countries-lib: 137 commits, 16 files, 24 authorshmpo-form-wizard: 573 commits, 126 files, 55 authorshmpo-i18n: 160 commits, 37 files, 16 authorshmpo-journey-tester: 90 commits, 18 files, 8 authorshmpo-logger: 152 commits, 46 files, 21 authorshmpo-model: 208 commits, 20 files, 26 authorshmpo-node-standards: 117 commits, 16 files, 10 authorshmpo-nunjucks-test: 78 commits, 20 files, 10 authorshmpo-reqres: 75 commits, 25 files, 13 authorshmpo-stubber: 75 commits, 35 files, 14 authorshmpo-ticket-status: 173 commits, 68 files, 14 authorshmpo-xml-to-pdf: 79 commits, 21 files, 10 authorspassports-oix-examples: 42 commits, 18 files, 13 authorsstillbirth-registration: 276 commits, 506 files, 6 authorsxml-to-pdf: 75 commits, 23 files, 8 authorsfiles at HEAD (log)commits (log)

The shape of a repository

Directory layout is the cheapest reliable signal of what a repository actually is. app/ with config/ and spec/ is a Rails application; src/ with test/ is Java or Node. Counted by how many repositories contain each top-level directory at HEAD.

Most common top-level directories

liblib: 1717testtest: 1616.husky.husky: 1212appapp: 66node_modulesnode_modules: 22viewsviews: 22routesroutes: 22localeslocales: 22middlewaremiddleware: 22assetsassets: 22configconfig: 22exampleexample: 22examplesexamples: 22binbin: 22gulpgulp: 11controllerscontrollers: 11modelsmodels: 11componentscomponents: 11

Most common file extensions

By total file count across the estate.

.js.js: 8k8k.html.html: 5.8k5.8k.map.map: 3k3k.ts.ts: 2.8k2.8k.json.json: 1.5k1.5k.md.md: 1.5k1.5k.scss.scss: 638638.njk.njk: 404404.png.png: 222222.mjs.mjs: 184184.yml.yml: 126126.css.css: 3434.txt.txt: 3434.yaml.yaml: 2626.jsx.jsx: 1919.jpg.jpg: 99

The twenty largest repositories

RepositoryLanguageGit size CommitsFilesStatus
passports-oix-examplesJavaScript15.5 MB4218active
birth-registrationHTML14.3 MB20411,868active
civilregprototype2.0HTML13.4 MB26010,196active
LEO-prototypesHTML13.4 MB4841,729active
civil-registration-prototypeJavaScript7.1 MB192136active
stillbirth-registrationHTML1.7 MB276506active
hmpo-componentsJavaScript1.3 MB601127active
hmpo-ticket-statusJavaScript1.2 MB17368active
hmpo-form-wizardJavaScript1.0 MB573126active
hmpo-loggerJavaScript1.0 MB15246active
birthsHTML1.0 MB184495active
hmpo-stubberJavaScript874.5 kB7535active
hmpo-i18nJavaScript868.4 kB16037active
hmpo-configJavaScript748.5 kB6622active
hmpo-countries-libJavaScript704.5 kB13716active
hmpo-modelJavaScript651.3 kB20820active
hmpo-appJavaScript597.0 kB13496active
xml-to-pdfJavaScript474.1 kB7523active
hmpo-xml-to-pdfJavaScript448.5 kB7921active
hmpo-cached-modelJavaScript389.1 kB10714active