← all organisations

UKForeignOffice / Code

15 languages, 5.7 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

15
languages in use
5.7 MB of source
2.4k
files at HEAD
across every analysed repository
0 B
on disk as mirrors
full history, every branch and tag
57.8 MB
largest repository
IATI.cloud

What stands out

One archived repository holds 40% of all the bytes.

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

29% 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: 1.8 MB1.8 MBTypeScriptTypeScript: 1.2 MB1.2 MBEJSEJS: 768.8 kB768.8 kBPythonPython: 568.1 kB568.1 kBXSLTXSLT: 441.7 kB441.7 kBNunjucksNunjucks: 221.4 kB221.4 kBPLpgSQLPLpgSQL: 170.0 kB170.0 kBSCSSSCSS: 122.6 kB122.6 kBCSSCSS: 121.5 kB121.5 kBShellShell: 64.9 kB64.9 kBGherkinGherkin: 64.3 kB64.3 kBHTMLHTML: 45.5 kB45.5 kBJavaJava: 44.7 kB44.7 kBDockerfileDockerfile: 15.8 kB15.8 kB

By number of repositories

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

DockerfileDockerfile: 1313JavaScriptJavaScript: 1212TypeScriptTypeScript: 99ShellShell: 55SCSSSCSS: 44HTMLHTML: 33PLpgSQLPLpgSQL: 33EJSEJS: 33CSSCSS: 33PythonPython: 22NunjucksNunjucks: 22JavaJava: 11XSLTXSLT: 11GherkinGherkin: 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: 88TypeScriptTypeScript: 33PythonPython: 11ShellShell: 11JavaJava: 11

Archived repositories

JavaScriptJavaScript: 00TypeScriptTypeScript: 00PythonPython: 00ShellShell: 00JavaJava: 00

Scale

Repository size distribution

Git data per repository, log-ish buckets.

64.531.50< 10 kB: 0< 10 kB< 100 kB: 0< 100 kB< 1 MB: 4< 1 MB< 10 MB: 6< 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.

6.3k2.1k727.5247.284.015.040.1107.1286.3765IATI.cloud: 6,301 commits, 176 files, 82 authorsdocker-clamav: 275 commits, 67 files, 32 authorsdocument-upload: 96 commits, 44 files, 14 authorsforms-queue: 126 commits, 44 files, 9 authorslists: 5,433 commits, 765 files, 23 authorsloi-address-service: 223 commits, 18 files, 19 authorsloi-application-service: 3,446 commits, 470 files, 35 authorsloi-notification-service: 279 commits, 26 files, 23 authorsloi-payment-service: 482 commits, 57 files, 25 authorsloi-smoke-tests: 84 commits, 15 files, 7 authorsloi-submission-service: 342 commits, 35 files, 19 authorsloi-user-service: 737 commits, 327 files, 33 authorsnotarial-api: 1,551 commits, 256 files, 19 authorsverify-apostille-service: 386 commits, 122 files, 25 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

configconfig: 88teststests: 77docsdocs: 44logslogs: 44viewsviews: 44.circleci.circleci: 33apiapi: 33appapp: 33scriptsscripts: 22srcsrc: 22workerworker: 22.yarn.yarn: 22cypresscypress: 22.husky.husky: 22assetsassets: 22database_change_logdatabase_change_log: 22taskstasks: 22databasesdatabases: 22

Most common file extensions

By total file count across the estate.

.ts.ts: 591591.js.js: 496496.png.png: 263263.ejs.ejs: 127127.sql.sql: 112112.njk.njk: 112112.py.py: 9191.md.md: 8080.json.json: 7777.sh.sh: 5252.yml.yml: 3939.feature.feature: 3636.scss.scss: 3535.java.java: 2828.svg.svg: 2121.woff.woff: 1313

The twenty largest repositories

RepositoryLanguageGit size CommitsFilesStatus
IATI.cloudPython57.8 MB6,301176active
docker-clamavShell41.8 MB27567active
listsTypeScript17.9 MB5,433765active
loi-application-serviceJavaScript11.1 MB3,446470active
notarial-apiTypeScript3.8 MB1,551256active
loi-payment-serviceJavaScript2.8 MB48257active
loi-user-serviceJavaScript2.7 MB737327active
verify-apostille-serviceJavaScript2.6 MB386122active
forms-queueTypeScript1.9 MB12644active
loi-submission-serviceJavaScript1.7 MB34235active
loi-address-serviceJavaScript546.8 kB22318active
loi-notification-serviceJavaScript532.5 kB27926active
document-uploadJava298.0 kB9644active
loi-smoke-testsJavaScript231.4 kB8415active