← all organisations

CPS-Innovation / Code

22 languages, 344.6 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

22
languages in use
344.6 MB of source
45.7k
files at HEAD
across every analysed repository
0 B
on disk as mirrors
full history, every branch and tag
202.0 MB
largest repository
PolarisUX

What stands out

One archived repository holds 16% of all the bytes.

PolarisUX is 202.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 (68% 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.

61% 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: 234.2 MB234.2 MBJavaScriptJavaScript: 46.4 MB46.4 MBCSSCSS: 34.2 MB34.2 MBC#C#: 7.9 MB7.9 MBTypeScriptTypeScript: 7.5 MB7.5 MBSCSSSCSS: 4.3 MB4.3 MBBruBru: 3.4 MB3.4 MBNunjucksNunjucks: 2.5 MB2.5 MBFluentFluent: 2.2 MB2.2 MBHCLHCL: 884.5 kB884.5 kBPythonPython: 390.6 kB390.6 kBPowerShellPowerShell: 209.7 kB209.7 kBJavaJava: 173.9 kB173.9 kBShellShell: 124.5 kB124.5 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: 2828SCSSSCSS: 2727HTMLHTML: 2626NunjucksNunjucks: 1818CSSCSS: 1414TypeScriptTypeScript: 1313HCLHCL: 1212ShellShell: 1212ProcfileProcfile: 99C#C#: 77PowerShellPowerShell: 66DockerfileDockerfile: 55PythonPython: 33BruBru: 22

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

HTMLHTML: 1111HCLHCL: 77JavaScriptJavaScript: 88C#C#: 66TypeScriptTypeScript: 44PowerShellPowerShell: 22NunjucksNunjucks: 22BruBru: 22DockerfileDockerfile: 00JavaJava: 11

Archived repositories

HTMLHTML: 11HCLHCL: 33JavaScriptJavaScript: 11C#C#: 00TypeScriptTypeScript: 00PowerShellPowerShell: 00NunjucksNunjucks: 00BruBru: 00DockerfileDockerfile: 22JavaJava: 00

Scale

Repository size distribution

Git data per repository, log-ish buckets.

1612840< 10 kB: 7< 10 kB< 100 kB: 13< 100 kB< 1 MB: 16< 1 MB< 10 MB: 6< 10 MB< 100 MB: 13< 100 MB100 MB +: 4100 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.5k1.5k238.737.86.0428.1197.81.4k9.8k.github: 72 commits, 7 files, 4 authorsACI-Self-hosted-agents: 70 commits, 49 files, 4 authorsAI-prototype: 57 commits, 241 files, 4 authorsCPS-Centralised-Reusable-Workflows: 16 commits, 16 files, 2 authorsCPS-E2E-Test-Automation: 454 commits, 124 files, 11 authorsCPS-MPCorrespondence-Prototype: 8 commits, 30 files, 2 authorsCPS-TF-Module-Common-Tags: 6 commits, 4 files, 3 authorsCPS-VCA-TSM-Infra: 14 commits, 19 files, 3 authorsCase-Management-Register-a-Case: 744 commits, 602 files, 17 authorsCase-Management-Register-a-Case-Infrastructure-Terraform: 208 commits, 186 files, 4 authorsCentral-QA-CaseCreation: 16 commits, 219 files, 4 authorsCloud-Infrastructure-Scripts: 44 commits, 12 files, 3 authorsDNS-Self-Service: 27 commits, 13 files, 5 authorsEndToEnd: 196 commits, 3,583 files, 6 authorsHousekeeping-Casework-Merge: 677 commits, 2,252 files, 8 authorsLCC-prototype: 1,414 commits, 6,584 files, 7 authorsLarge-and-Complex-Cases: 3,359 commits, 1,187 files, 31 authorsLarge-and-Complex-Cases-Infrastructure-Terraform: 594 commits, 123 files, 9 authorsLarge-and-Complex-Cases-prototype: 36 commits, 251 files, 6 authorsManaged-Materials-UI: 1,589 commits, 449 files, 23 authorsNetApp-POC: 9 commits, 38 files, 6 authorsPolaris: 9,493 commits, 2,190 files, 60 authorsPolarisUX: 714 commits, 4,863 files, 15 authorsRumpole-QA-Automation: 139 commits, 54 files, 11 authorsTemplate-Repo-Infrastructure-Terraform: 24 commits, 31 files, 4 authorsVCA-prototype: 754 commits, 1,986 files, 12 authorsadvocate-panel-application: 360 commits, 179 files, 9 authorsai-dispro-app: 90 commits, 131 files, 6 authorsai-dispro-infra: 140 commits, 50 files, 4 authorsassurance-api: 196 commits, 128 files, 11 authorsassurance-frontend: 497 commits, 255 files, 13 authorscase-locking-prototype: 567 commits, 773 files, 12 authorscase-overview-prototype: 1,120 commits, 687 files, 15 authorscps-api-collection: 56 commits, 219 files, 5 authorscps-design-resources: 71 commits, 786 files, 5 authorsdcf-materials-prototype: 1,142 commits, 1,149 files, 13 authorsdesign-history: 204 commits, 316 files, 11 authorsdigital-sop: 420 commits, 223 files, 9 authorsdjb-infrastructure-terraform: 105 commits, 94 files, 6 authorsdjb-transfer-tool: 81 commits, 99 files, 6 authorsglobal-components: 3,827 commits, 638 files, 6 authorsglobal-navigation-prototype: 79 commits, 89 files, 5 authorshk-cwa-web-component-poc: 129 commits, 48 files, 8 authorshousekeeping-prototype: 57 commits, 15 files, 4 authorslcc-reporting-service: 44 commits, 49 files, 8 authorsnew-design-history: 207 commits, 618 files, 15 authorsnginx-rate-limiting: 9 commits, 9 files, 4 authorspipeline-vpnclient-poc: 53 commits, 14 files, 4 authorspolaris-reverseproxy-poc: 19 commits, 14 files, 3 authorssshcontainer: 35 commits, 9 files, 5 authorsvictim-contact-application--alpha: 93 commits, 9,779 files, 4 authorswc-os-spike-poc: 32 commits, 13 files, 6 authorswitexprototype: 810 commits, 4,190 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

appapp: 1818.vscode.vscode: 1010docsdocs: 88srcsrc: 88scriptsscripts: 77liblib: 66publicpublic: 55terraformterraform: 44environmentsenvironments: 44gulpgulp: 44devops-pipelinesdevops-pipelines: 33pipelinepipeline: 33pdf-componentpdf-component: 33prismaprisma: 33testtest: 33pipelinespipelines: 22modulesmodules: 22prototypeprototype: 22

Most common file extensions

By total file count across the estate.

.html.html: 19.5k19.5k.js.js: 6.1k6.1k.ts.ts: 2.6k2.6k.png.png: 2.2k2.2k.cs.cs: 2.1k2.1k.map.map: 1.5k1.5k.md.md: 1.4k1.4k.pdf.pdf: 1.1k1.1k.json.json: 1.1k1.1k.svg.svg: 924924.scss.scss: 883883.njk.njk: 718718.tsx.tsx: 552552.tf.tf: 438438.bru.bru: 432432.css.css: 412412

The twenty largest repositories

RepositoryLanguageGit size CommitsFilesStatus
PolarisUXHTML202.0 MB7144,863active
PolarisC#189.1 MB9,4932,190active
LCC-prototypeHTML170.3 MB1,4146,584active
case-overview-prototypeJavaScript107.7 MB1,120687active
new-design-historyJavaScript88.4 MB207618active
Housekeeping-Casework-MergeJavaScript88.1 MB6772,252active
EndToEndHTML86.9 MB1963,583active
Large-and-Complex-Cases-Infrastructure-TerraformHCL73.6 MB594123active
dcf-materials-prototypeJavaScript73.3 MB1,1421,149active
witexprototypeHTML41.5 MB8104,190active
case-locking-prototypeJavaScript37.1 MB567773active
design-historyNunjucks25.4 MB204316active
advocate-panel-applicationHTML23.0 MB360179active
digital-sopHTML20.0 MB420223active
cps-design-resourcesCSS17.4 MB71786active
Large-and-Complex-CasesC#15.9 MB3,3591,187active
victim-contact-application--alphaHTML11.1 MB939,779archived
global-componentsTypeScript6.8 MB3,827638active
VCA-prototypeHTML4.2 MB7541,986active
assurance-frontendJavaScript2.8 MB497255active