← all organisations

NHS-Transformation-Unit / Code

4 languages, 28.5 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

4
languages in use
28.5 MB of source
869
files at HEAD
across every analysed repository
0 B
on disk as mirrors
full history, every branch and tag
148.9 MB
largest repository
asset_mapping

What stands out

One archived repository holds 57% of all the bytes.

asset_mapping is 148.9 MB of git - a 2013 static snapshot of www.gov.uk, not source code. It single-handedly makes HTML the largest language by volume (92% 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.

50% 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: 26.2 MB26.2 MBRR: 2.1 MB2.1 MBTSQLTSQL: 111.0 kB111.0 kBCSSCSS: 30.0 kB30.0 kB

By number of repositories

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

RR: 2424CSSCSS: 2323HTMLHTML: 88TSQLTSQL: 55

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

RR: 1515HTMLHTML: 88TSQLTSQL: 11CSSCSS: 11

Archived repositories

RR: 00HTMLHTML: 00TSQLTSQL: 00CSSCSS: 00

Scale

Repository size distribution

Git data per repository, log-ish buckets.

107.552.50< 10 kB: 0< 10 kB< 100 kB: 3< 100 kB< 1 MB: 10< 1 MB< 10 MB: 10< 10 MB< 100 MB: 2< 100 MB100 MB +: 1100 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.

295111.442.115.965.011.426.159.6136.0.github: 12 commits, 5 files, 3 authorsAIDF: 119 commits, 26 files, 3 authorsCMAST: 114 commits, 21 files, 4 authorsCMCA_Hysteroscopy: 69 commits, 41 files, 2 authorsDeprivation: 36 commits, 15 files, 2 authorsERIC: 83 commits, 13 files, 3 authorsHSDS_MASH: 111 commits, 58 files, 2 authorsHS_DS_IBS_DES: 6 commits, 40 files, 2 authorsHVLC: 47 commits, 16 files, 5 authorsLung_Health_Checks: 295 commits, 136 files, 5 authorsNCDR_Reference: 20 commits, 13 files, 3 authorsPerinatal-MH-Dashboard: 236 commits, 46 files, 10 authorsPrimary-Care-Theograph: 74 commits, 15 files, 2 authorsRTT_Backlog: 84 commits, 22 files, 2 authorsaseptic_services_modelling: 16 commits, 13 files, 2 authorsasset_mapping: 66 commits, 73 files, 2 authorsdata_sources: 39 commits, 63 files, 3 authorsdev_diag_simple: 17 commits, 11 files, 2 authorsimd_2025: 39 commits, 32 files, 2 authorsmarkov_example: 41 commits, 27 files, 2 authorsmasld_treatments_model: 190 commits, 80 files, 5 authorsnhs_app_utilisation: 47 commits, 29 files, 4 authorsspc_app: 93 commits, 24 files, 3 authorsstaff_sickness_absence: 24 commits, 25 files, 3 authorsvirtual_wards_sitrep_occupancy: 12 commits, 15 files, 3 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

srcsrc: 2222imagesimages: 2121datadata: 1717documentationdocumentation: 1515wwwwww: 77RR: 22profileprofile: 11documentsdocuments: 11docsdocs: 11pagespages: 11renvrenv: 11teststests: 11

Most common file extensions

By total file count across the estate.

.r.r: 375375.png.png: 7474.html.html: 5353.sql.sql: 4949.md.md: 4545.xlsx.xlsx: 4141.qmd.qmd: 3434.css.css: 2929.svg.svg: 2121.csv.csv: 1515.rproj.rproj: 1212.js.js: 1111.drawio.drawio: 1010.rmd.rmd: 99.yml.yml: 66.geojson.geojson: 33

The twenty largest repositories

RepositoryLanguageGit size CommitsFilesStatus
asset_mappingR148.9 MB6673active
imd_2025R41.9 MB3932active
RTT_BacklogHTML27.9 MB8422active
masld_treatments_modelHTML10.2 MB19080active
nhs_app_utilisationHTML8.6 MB4729active
ERICR5.9 MB8313active
Lung_Health_ChecksR3.3 MB295136active
HSDS_MASHR2.3 MB11158active
virtual_wards_sitrep_occupancyHTML1.5 MB1215active
staff_sickness_absenceHTML1.4 MB2425active
AIDFR1.4 MB11926active
CMCA_HysteroscopyR1.3 MB6941active
spc_appR1.0 MB9324active
HS_DS_IBS_DESHTML964.6 kB640active
data_sourcesCSS696.3 kB3963active
Perinatal-MH-DashboardTSQL406.5 kB23646active
Primary-Care-TheographR406.5 kB7415active
NCDR_ReferenceHTML379.9 kB2013active
markov_exampleR337.9 kB4127active
aseptic_services_modellingHTML308.2 kB1613active