← all organisations

defencedigital / Code

25 languages, 22.2 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

25
languages in use
22.2 MB of source
11.4k
files at HEAD
across every analysed repository
0 B
on disk as mirrors
full history, every branch and tag
639.4 MB
largest repository
moduk-frontend-guidance-site

What stands out

One archived repository holds 50% of all the bytes.

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

63% 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: 8.1 MB8.1 MBJavaScriptJavaScript: 5.3 MB5.3 MBCSSCSS: 1.9 MB1.9 MBKotlinKotlin: 1.3 MB1.3 MBVueVue: 1.1 MB1.1 MBPythonPython: 892.5 kB892.5 kBHTMLHTML: 630.2 kB630.2 kBGoGo: 606.0 kB606.0 kBNunjucksNunjucks: 567.5 kB567.5 kBTypeScriptTypeScript: 506.8 kB506.8 kBC#C#: 397.7 kB397.7 kBSCSSSCSS: 367.8 kB367.8 kBSwiftSwift: 186.4 kB186.4 kBShellShell: 107.1 kB107.1 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: 2222ShellShell: 1818HTMLHTML: 1616DockerfileDockerfile: 1515PythonPython: 1313CSSCSS: 1313SCSSSCSS: 1010TypeScriptTypeScript: 88GoGo: 66NunjucksNunjucks: 66JavaJava: 55C#C#: 44MakefileMakefile: 44HandlebarsHandlebars: 33

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: 55PythonPython: 44HTMLHTML: 44GoGo: 22CSSCSS: 22TypeScriptTypeScript: 33NunjucksNunjucks: 22KotlinKotlin: 00PHPPHP: 11C#C#: 11

Archived repositories

JavaScriptJavaScript: 22PythonPython: 22HTMLHTML: 11GoGo: 22CSSCSS: 11TypeScriptTypeScript: 00NunjucksNunjucks: 11KotlinKotlin: 22PHPPHP: 00C#C#: 00

Scale

Repository size distribution

Git data per repository, log-ish buckets.

1914.29.54.80< 10 kB: 19< 10 kB< 100 kB: 10< 100 kB< 1 MB: 12< 1 MB< 10 MB: 11< 10 MB< 100 MB: 10< 100 MB100 MB +: 3100 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.

24.2k2.9k347.741.75.016.745.0301.62k.github: 7 commits, 3 files, 2 authorsMISP-rq: 24,175 commits, 2,023 files, 332 authorsOSDT-BTChat: 205 commits, 204 files, 13 authorsSAPIENT-Proto-Files: 41 commits, 35 files, 4 authorsSPDG: 257 commits, 1,443 files, 19 authorsairflow-mock-data: 20 commits, 8 files, 1 authorsbrizo-hatch-datavolo-nar: 19 commits, 14 files, 4 authorsdbsditag-afam-appcode: 18 commits, 9 files, 4 authorsdbsditag-monitoring: 7,107 commits, 731 files, 1127 authorsddap-devspaces: 80 commits, 14 files, 7 authorsddap-devspaces-image-pipeline: 44 commits, 13 files, 2 authorsdds-team-manual: 53 commits, 24 files, 4 authorsdds-way: 28 commits, 13 files, 8 authorsdefencedigital.github.io: 15 commits, 6 files, 3 authorsdefencex0-website: 17 commits, 96 files, 2 authorsdefencex1-website: 35 commits, 104 files, 3 authorsdeleteme-1010110: 1,101 commits, 399 files, 72 authorsdeleteme-10203023: 1,079 commits, 399 files, 71 authorsdevspaces-test: 67 commits, 14 files, 7 authorsdigital-service-manual: 7 commits, 1 files, 2 authorsdiscover-my-benefits: 169 commits, 860 files, 5 authorsdocker-pipeline: 32 commits, 42 files, 6 authorsdsei-app: 100 commits, 16 files, 5 authorsdsei-demo: 52 commits, 19 files, 5 authorsdsei-deployment: 23 commits, 4 files, 2 authorsdsm-prototype: 87 commits, 198 files, 5 authorseleventy-plugin-rev: 47 commits, 32 files, 4 authorsenforced-app-repo: 3,443 commits, 637 files, 391 authorsfoundry-syops: 8 commits, 7 files, 1 authorsfs-public-test: 19 commits, 2 files, 2 authorshackmdds: 2,628 commits, 395 files, 164 authorsjava-hello-world-with-maven: 5 commits, 4 files, 4 authorsjavascript-style-guide: 21 commits, 2 files, 8 authorsmoduk-frontend: 1,698 commits, 1,037 files, 12 authorsmoduk-frontend-guidance-site: 1,249 commits, 559 files, 16 authorsmoduk-frontend-prototype: 58 commits, 725 files, 5 authorsmoduk-prototype-kit: 17 commits, 192 files, 2 authorsmoduk-service-manual: 1,713 commits, 168 files, 6 authorsmoduk-service-toolkit: 23 commits, 64 files, 2 authorsproduct-page-example: 141 commits, 35 files, 15 authorsproject-pipeline: 894 commits, 204 files, 40 authorsr2d2-nodejs-logs: 14 commits, 16 files, 6 authorsreact-lint-config-archived: 133 commits, 20 files, 7 authorsred-hat-developer-hub-software-templates: 424 commits, 259 files, 39 authorssemver-generator: 369 commits, 37 files, 6 authorstechnical-test-01: 22 commits, 10 files, 4 authorstemplate-repository: 10 commits, 5 files, 1 authorsterraform-aws-rds: 316 commits, 109 files, 78 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: 1212srcsrc: 99appapp: 66templatestemplates: 55teststests: 44testtest: 44staticstatic: 44e2ee2e: 44liblib: 44publicpublic: 33nginxnginx: 33assetsassets: 33scriptsscripts: 33processor_coreprocessor_core: 22.vscode.vscode: 22.che.che: 22internalinternal: 22actionsactions: 22

Most common file extensions

By total file count across the estate.

.png.png: 1.8k1.8k.js.js: 1.2k1.2k.deploy.deploy: 1.2k1.2k.ctp.ctp: 731731.md.md: 527527.php.php: 408408.njk.njk: 401401.svg.svg: 382382.kt.kt: 319319.yml.yml: 314314.json.json: 314314.ts.ts: 282282.scss.scss: 258258.txt.txt: 213213.html.html: 208208.tsx.tsx: 208208

The twenty largest repositories

RepositoryLanguageGit size CommitsFilesStatus
moduk-frontend-guidance-siteTypeScript639.4 MB1,249559active
MISP-rqPHP128.0 MB24,1752,023active
enforced-app-repoKotlin115.6 MB3,443637archived
moduk-frontendTypeScript71.8 MB1,6981,037active
dbsditag-afam-appcodeDockerfile54.5 MB189archived
deleteme-1010110Go40.4 MB1,101399archived
deleteme-10203023Go38.9 MB1,079399archived
dbsditag-monitoringJavaScript37.4 MB7,107731active
SPDGC#30.0 MB2571,443active
hackmddsJavaScript26.5 MB2,628395active
moduk-frontend-prototypeNunjucks23.3 MB58725archived
discover-my-benefitsJavaScript15.2 MB169860active
airflow-mock-data-10.5 MB208active
moduk-service-manualNunjucks7.8 MB1,713168active
defencex1-websiteJavaScript7.5 MB35104active
defencex0-websiteJavaScript6.9 MB1796archived
moduk-prototype-kitJavaScript5.7 MB17192active
project-pipelineCSS5.1 MB894204active
terraform-aws-rdsHCL4.7 MB316109active
red-hat-developer-hub-software-templatesHTML3.5 MB424259active