← all organisations

dhsc-govuk / Code

16 languages, 41.8 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

16
languages in use
41.8 MB of source
8k
files at HEAD
across every analysed repository
0 B
on disk as mirrors
full history, every branch and tag
453.9 MB
largest repository
FingertipsNext

What stands out

One archived repository holds 85% of all the bytes.

FingertipsNext is 453.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 (47% 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.

25% 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: 19.8 MB19.8 MBTypeScriptTypeScript: 7.6 MB7.6 MBC#C#: 6.3 MB6.3 MBCSSCSS: 5.6 MB5.6 MBRR: 1.0 MB1.0 MBJavaScriptJavaScript: 676.3 kB676.3 kBPythonPython: 381.1 kB381.1 kBSCSSSCSS: 141.1 kB141.1 kBPLpgSQLPLpgSQL: 82.9 kB82.9 kBLessLess: 78.5 kB78.5 kBTSQLTSQL: 66.1 kB66.1 kBHCLHCL: 49.9 kB49.9 kBDockerfileDockerfile: 11.6 kB11.6 kBShellShell: 11.0 kB11.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: 88CSSCSS: 66PythonPython: 66JavaScriptJavaScript: 55HTMLHTML: 55DockerfileDockerfile: 55ShellShell: 55TypeScriptTypeScript: 44C#C#: 44SCSSSCSS: 33TSQLTSQL: 22HCLHCL: 22MakefileMakefile: 22PLpgSQLPLpgSQL: 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

RR: 77PythonPython: 33TypeScriptTypeScript: 22HTMLHTML: 22C#C#: 22

Archived repositories

RR: 00PythonPython: 00TypeScriptTypeScript: 00HTMLHTML: 00C#C#: 00

Scale

Repository size distribution

Git data per repository, log-ish buckets.

129630< 10 kB: 2< 10 kB< 100 kB: 0< 100 kB< 1 MB: 3< 1 MB< 10 MB: 12< 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.

9.1k1.5k233.837.56.0212.274.1450.72.7k.github: 6 commits, 2 files, 3 authorsDHSCconsultations: 45 commits, 55 files, 7 authorsDHSCshinytemplate: 34 commits, 31 files, 2 authorsFingertipsNext: 9,110 commits, 1,339 files, 45 authorsGet-Adult-Social-Care-Data: 3,142 commits, 613 files, 37 authorsGet-Adult-Social-Care-Data_Prototype: 993 commits, 2,743 files, 13 authorsHealthyBabies: 28 commits, 1,428 files, 2 authorsPHEindicatormethods: 604 commits, 106 files, 26 authorsPHStatsMethods: 443 commits, 55 files, 16 authorsconsultation-template: 58 commits, 24 files, 7 authorsdhsc_quarto_template: 171 commits, 48 files, 18 authorsexcess-deaths: 9 commits, 34 files, 1 authorsfingertips_py: 159 commits, 28 files, 17 authorsfingertipscharts: 229 commits, 159 files, 11 authorsgamblinglevy: 15 commits, 1,178 files, 3 authorsiati-oda-spending-metadata: 35 commits, 7 files, 2 authorsodsR: 7 commits, 33 files, 1 authorsparliament-mcp: 104 commits, 64 files, 10 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

RR: 77docsdocs: 66teststests: 66manman: 55datadata: 44apiapi: 33scriptsscripts: 33instinst: 22terraformterraform: 22clientclient: 22vignettesvignettes: 22data-rawdata-raw: 22profileprofile: 11frontendfrontend: 11trend-analysistrend-analysis: 11DataCreatorDataCreator: 11databasedatabase: 11search-setupsearch-setup: 11

Most common file extensions

By total file count across the estate.

.html.html: 2.4k2.4k.cs.cs: 1.8k1.8k.tsx.tsx: 1.1k1.1k.ts.ts: 921921.png.png: 234234.css.css: 172172.csv.csv: 161161.json.json: 138138.r.r: 105105.js.js: 8383.py.py: 7676.rd.rd: 7373.md.md: 6969.svg.svg: 6363.csproj.csproj: 4646.snap.snap: 4141

The twenty largest repositories

RepositoryLanguageGit size CommitsFilesStatus
FingertipsNextTypeScript453.9 MB9,1101,339active
consultation-templateR13.9 MB5824active
Get-Adult-Social-Care-Data_PrototypeHTML13.0 MB9932,743active
Get-Adult-Social-Care-DataTypeScript9.6 MB3,142613active
PHEindicatormethodsR9.5 MB604106active
fingertips_pyPython6.2 MB15928active
iati-oda-spending-metadata-5.7 MB357active
dhsc_quarto_templateHTML5.5 MB17148active
fingertipschartsR5.0 MB229159active
HealthyBabiesC#2.9 MB281,428active
odsRR2.3 MB733active
gamblinglevyC#2.2 MB151,178active
excess-deathsR1.3 MB934active
PHStatsMethodsPython1.2 MB44355active
DHSCconsultationsR1.1 MB4555active
DHSCshinytemplateR1.0 MB3431active
vCJD-forecast-model-892.9 kB42active
parliament-mcpPython516.1 kB10464active
.github-6.1 kB62active
find-public-health-data-1.0 kB12active