← all organisations

DFID / Code

20 languages, 12.3 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

20
languages in use
12.3 MB of source
5.2k
files at HEAD
across every analysed repository
0 B
on disk as mirrors
full history, every branch and tag
146.0 MB
largest repository
aid-platform-beta

What stands out

One archived repository holds 45% of all the bytes.

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

40% 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.

JavaScriptJavaScript: 3.4 MB3.4 MBC#C#: 2.6 MB2.6 MBPythonPython: 2.1 MB2.1 MBCSSCSS: 1.6 MB1.6 MBHTMLHTML: 1.1 MB1.1 MBRubyRuby: 571.0 kB571.0 kBSCSSSCSS: 291.2 kB291.2 kBScalaScala: 233.4 kB233.4 kBTSQLTSQL: 176.1 kB176.1 kBRR: 93.9 kB93.9 kBNunjucksNunjucks: 68.0 kB68.0 kBPHPPHP: 62.1 kB62.1 kBXQueryXQuery: 27.5 kB27.5 kBShellShell: 16.4 kB16.4 kB

By number of repositories

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

CSSCSS: 88ShellShell: 77JavaScriptJavaScript: 66RubyRuby: 55PythonPython: 55HTMLHTML: 44ScalaScala: 22C#C#: 11ASPASP: 11CartoCSSCartoCSS: 11SaltStackSaltStack: 11SCSSSCSS: 11NunjucksNunjucks: 11XQueryXQuery: 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

PythonPython: 44JavaScriptJavaScript: 11CSSCSS: 22TSQLTSQL: 11C#C#: 11RR: 11

Archived repositories

PythonPython: 00JavaScriptJavaScript: 22CSSCSS: 11TSQLTSQL: 00C#C#: 00RR: 00

Scale

Repository size distribution

Git data per repository, log-ish buckets.

43210< 10 kB: 2< 10 kB< 100 kB: 2< 100 kB< 1 MB: 2< 1 MB< 10 MB: 4< 10 MB< 100 MB: 4< 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.

2.6k545.7114.223.95.05.021.390.4384.71.6kOIPA: 2,517 commits, 914 files, 37 authorsSQL-to-IATI-Database: 19 commits, 5 files, 4 authorsaid-management-platform: 32 commits, 619 files, 2 authorsaid-platform-beta: 2,570 commits, 628 files, 29 authorsdcm-graph: 64 commits, 29 files, 5 authorsdevtracker-from-api: 2,608 commits, 1,636 files, 34 authorsdevtracker-new: 13 commits, 448 files, 6 authorsdfid-results-estimates: 61 commits, 211 files, 4 authorsdigitalquiz_open: 5 commits, 476 files, 3 authorsdjorm-ext-pgfulltext: 112 commits, 29 files, 23 authorsfulltext: 52 commits, 17 files, 2 authorsgovernment.github.com: 846 commits, 82 files, 125 authorsqa-of-code-guidance: 157 commits, 45 files, 13 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

docsdocs: 44.vscode.vscode: 22datadata: 22imagesimages: 22OIPAOIPA: 11binbin: 11etcetc: 11toolstools: 11fixturesfixtures: 11AMPAMP: 11AMP Database ScriptsAMP Database Scripts: 11srcsrc: 11opsops: 11scriptsscripts: 11datasetdataset: 11linkedServicelinkedService: 11templatestemplates: 11pipelinepipeline: 11

Most common file extensions

By total file count across the estate.

.png.png: 1.3k1.3k.js.js: 788788.scss.scss: 378378.py.py: 370370.cs.cs: 303303.json.json: 255255.md.md: 204204.erb.erb: 140140.njk.njk: 126126.css.css: 125125.scala.scala: 109109.cshtml.cshtml: 103103.html.html: 8787.svg.svg: 6464.r.r: 6464.scssc.scssc: 4949

The twenty largest repositories

RepositoryLanguageGit size CommitsFilesStatus
aid-platform-betaJavaScript146.0 MB2,570628archived
devtracker-from-apiJavaScript94.6 MB2,6081,636active
OIPAPython40.7 MB2,517914active
qa-of-code-guidanceCSS13.8 MB15745active
government.github.comCSS11.1 MB84682active
dfid-results-estimatesR9.0 MB61211active
devtracker-newJavaScript3.8 MB13448archived
aid-management-platformC#2.7 MB32619active
digitalquiz_openCSS2.2 MB5476archived
dcm-graphPython353.3 kB6429active
fulltextPython227.3 kB5217active
SQL-to-IATI-DatabaseTSQL102.4 kB195active
djorm-ext-pgfulltextPython86.0 kB11229active
azure_experimentation-7.2 kB311active
dfid.github.io-0 B11active