← all organisations

UKHomeOffice-attic / Code

18 languages, 18.4 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

18
languages in use
18.4 MB of source
5.1k
files at HEAD
across every analysed repository
0 B
on disk as mirrors
full history, every branch and tag
153.6 MB
largest repository
hillsborough-disclosure

What stands out

One archived repository holds 92% of all the bytes.

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

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

PHPPHP: 15.4 MB15.4 MBJavaScriptJavaScript: 1.4 MB1.4 MBHTMLHTML: 911.5 kB911.5 kBCSSCSS: 441.6 kB441.6 kBXSLTXSLT: 63.2 kB63.2 kBScalaScala: 38.6 kB38.6 kBStandard MLStandard ML: 30.3 kB30.3 kBGoGo: 28.8 kB28.8 kBShellShell: 23.5 kB23.5 kBRoffRoff: 15.3 kB15.3 kBRubyRuby: 6.0 kB6.0 kBPythonPython: 4.2 kB4.2 kBNginxNginx: 3.9 kB3.9 kBMakefileMakefile: 3.0 kB3.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.

JavaScriptJavaScript: 4444Standard MLStandard ML: 2121ShellShell: 1414HTMLHTML: 77CSSCSS: 77NginxNginx: 22GoGo: 22DockerfileDockerfile: 22PHPPHP: 11XSLTXSLT: 11RoffRoff: 11BatchfileBatchfile: 11ApacheConfApacheConf: 11RubyRuby: 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: 2525Standard MLStandard ML: 1616ShellShell: 88GoGo: 22HTMLHTML: 22NginxNginx: 11PHPPHP: 11ScalaScala: 11

Archived repositories

JavaScriptJavaScript: 00Standard MLStandard ML: 00ShellShell: 00GoGo: 00HTMLHTML: 00NginxNginx: 00PHPPHP: 00ScalaScala: 00

Scale

Repository size distribution

Git data per repository, log-ish buckets.

2518.812.56.20< 10 kB: 23< 10 kB< 100 kB: 25< 100 kB< 1 MB: 8< 1 MB< 10 MB: 4< 10 MB< 100 MB: 0< 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.

516161.950.815.95.0212.982.7532.03.4kbrpapp-nginx: 6 commits, 4 files, 1 authorsdip-hello-world-karenp: 12 commits, 15 files, 4 authorsdocker-jenkins-slave: 9 commits, 9 files, 3 authorsdocker-jenkins-slave-docker1.6: 9 commits, 10 files, 3 authorsdocker-jenkins-slave-nodejs: 16 commits, 9 files, 3 authorsdocker-jenkins-slave-openjdk8: 14 commits, 9 files, 3 authorsdocker-jenkins-slave-ruby: 8 commits, 7 files, 5 authorsdocker-keycloakproxy: 14 commits, 5 files, 1 authorsdocker-postgres: 10 commits, 9 files, 7 authorsdrone-kubernetes: 48 commits, 18 files, 3 authorsdsp-hello-world-GJKrupa: 13 commits, 15 files, 1 authorsdsp-hello-world-SamFrier: 19 commits, 16 files, 4 authorsdsp-hello-world-abeadle: 33 commits, 14 files, 12 authorsdsp-hello-world-evan: 31 commits, 14 files, 12 authorsdsp-hello-world-hari: 9 commits, 13 files, 3 authorsdsp-hello-world-jamie: 29 commits, 13 files, 11 authorsdsp-hello-world-john-dennett: 11 commits, 14 files, 4 authorsdsp-hello-world-johnp: 15 commits, 15 files, 4 authorsdsp-hello-world-kash: 11 commits, 15 files, 4 authorsdsp-hello-world-kr: 5 commits, 16 files, 2 authorsdsp-hello-world-kriscoverdale: 14 commits, 9 files, 4 authorsdsp-hello-world-lees: 32 commits, 14 files, 12 authorsdsp-hello-world-mark: 11 commits, 14 files, 4 authorsdsp-hello-world-matt: 13 commits, 15 files, 4 authorsdsp-hello-world-oliver-mitchell: 16 commits, 15 files, 4 authorsdsp-hello-world-rayedah: 19 commits, 15 files, 4 authorsdsp-hello-world-searler: 18 commits, 15 files, 4 authorsdsp-hello-world-shabe: 22 commits, 15 files, 4 authorsdsp-hello-world-simonb: 22 commits, 16 files, 5 authorsdsp-helloworld-saurabh: 13 commits, 15 files, 4 authorshello-world-app-russell: 18 commits, 14 files, 4 authorshello-world-new-sim: 21 commits, 16 files, 5 authorshello-world-node-abdul: 9 commits, 11 files, 3 authorshello-world-node-bh: 8 commits, 15 files, 5 authorshillsborough-disclosure: 7 commits, 3,421 files, 3 authorshmpo-enquiries: 111 commits, 109 files, 9 authorshof: 350 commits, 18 files, 17 authorshof-controllers: 240 commits, 35 files, 18 authorshof-dotfiles: 16 commits, 24 files, 5 authorshof-example-form: 278 commits, 78 files, 15 authorshof-frontend-assets: 33 commits, 38 files, 6 authorsjay-dsp-hello-world: 29 commits, 18 files, 2 authorsjb28-helloworld: 5 commits, 14 files, 2 authorsjph-helloWorld: 20 commits, 15 files, 7 authorslev-api-docs: 167 commits, 170 files, 15 authorslev-api-mock: 7 commits, 2 files, 2 authorslev-rpm-builder-openresty: 19 commits, 16 files, 2 authorslev-rpm-builder-ords: 28 commits, 14 files, 6 authorsnode-hello-world-shabe1: 18 commits, 8 files, 3 authorsremovals_dashboard: 365 commits, 64 files, 14 authorsrepo-security-scanner: 61 commits, 50 files, 5 authorsright-to-rent-check: 516 commits, 179 files, 11 authorsrtp-domain-core-lib: 27 commits, 30 files, 8 authorsso-forms: 38 commits, 14 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

testtest: 3939kube-templatedkube-templated: 2929kubekube: 2929srcsrc: 44appsapps: 33assetsassets: 33liblib: 33binbin: 22rpmbuildrpmbuild: 22exampleexample: 11hillsboroughhillsborough: 11CommandLineCommandLine: 11SOLRSOLR: 11documentationdocumentation: 11acceptance_testsacceptance_tests: 11middlewaremiddleware: 11kube1kube1: 11snippetssnippets: 11

Most common file extensions

By total file count across the estate.

.php.php: 2.4k2.4k.xml.xml: 485485.js.js: 434434.png.png: 356356.yaml.yaml: 213213.json.json: 128128.md.md: 121121.jpg.jpg: 120120.html.html: 9797.adoc.adoc: 9393.yml.yml: 6767.css.css: 4040.scss.scss: 3333.txt.txt: 2828.phtml.phtml: 2828.sh.sh: 2727

The twenty largest repositories

RepositoryLanguageGit size CommitsFilesStatus
hillsborough-disclosurePHP153.6 MB73,421active
nspcc-modernslaveryHTML6.5 MB2332active
right-to-rent-checkJavaScript2.0 MB516179active
lev-api-docsHTML1.4 MB167170active
rtp-domain-core-libScala1.1 MB2730active
hof-example-formJavaScript362.5 kB27878active
removals_dashboardJavaScript307.2 kB36564active
hofJavaScript246.8 kB35018active
hof-controllersJavaScript214.0 kB24035active
brpapp-nginxNginx188.4 kB64active
lev-rpm-builder-openrestyShell166.9 kB1916active
hmpo-enquiriesJavaScript149.5 kB111109active
repo-security-scannerGo110.6 kB6150active
hof-frontend-assetsJavaScript78.8 kB3338active
hof-dotfilesJavaScript41.0 kB1624active
drone-kubernetesGo33.8 kB4818active
jay-dsp-hello-worldStandard ML32.8 kB2918active
lev-api-mock-24.6 kB72active
so-formsJavaScript23.6 kB3814active
docker-keycloakproxyShell21.5 kB145active