← all organisations

cabinetoffice / Code

28 languages, 64.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

28
languages in use
64.3 MB of source
65.3k
files at HEAD
across every analysed repository
0 B
on disk as mirrors
full history, every branch and tag
105.9 MB
largest repository
Grants-Lifecycle-Utility

What stands out

One archived repository holds 13% of all the bytes.

Grants-Lifecycle-Utility is 105.9 MB of git - a 2013 static snapshot of www.gov.uk, not source code. It single-handedly makes HTML the largest language by volume (26% 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 5% of archived repositories but only 12% 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.

HTMLHTML: 16.7 MB16.7 MBPHPPHP: 9.7 MB9.7 MBC#C#: 8.2 MB8.2 MBJavaScriptJavaScript: 7.0 MB7.0 MBCSSCSS: 4.6 MB4.6 MBTypeScriptTypeScript: 3.8 MB3.8 MBJavaJava: 3.6 MB3.6 MBApexApex: 3.5 MB3.5 MBRubyRuby: 3.1 MB3.1 MBPythonPython: 1.6 MB1.6 MBHCLHCL: 1.3 MB1.3 MBSCSSSCSS: 404.0 kB404.0 kBJupyter NotebookJupyter Notebook: 247.9 kB247.9 kBShellShell: 172.1 kB172.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: 5454HTMLHTML: 4545DockerfileDockerfile: 3737ShellShell: 3333CSSCSS: 2727SCSSSCSS: 2323MakefileMakefile: 2323RubyRuby: 1818PythonPython: 1616TypeScriptTypeScript: 1515HCLHCL: 1010RR: 1010PHPPHP: 99JavaJava: 99

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: 1010PythonPython: 1212JavaScriptJavaScript: 88RubyRuby: 1010RR: 99TypeScriptTypeScript: 99JavaJava: 99ApexApex: 55HCLHCL: 22PHPPHP: 11

Archived repositories

HTMLHTML: 55PythonPython: 11JavaScriptJavaScript: 44RubyRuby: 11RR: 00TypeScriptTypeScript: 00JavaJava: 00ApexApex: 11HCLHCL: 22PHPPHP: 33

Scale

Repository size distribution

Git data per repository, log-ish buckets.

3526.217.58.80< 10 kB: 13< 10 kB< 100 kB: 25< 100 kB< 1 MB: 35< 1 MB< 10 MB: 28< 10 MB< 100 MB: 12< 100 MB100 MB +: 2100 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.

13.9k1.9k263.636.35.0113.0169.52.2k28.7kCreate-Organisation-Lookup-For-RGCS: 6 commits, 4 files, 2 authorsDeveloper-recruitment-assessment-assets: 6 commits, 4 files, 1 authorsGCGS-Central-Digital-Platform: 13,901 commits, 3,272 files, 62 authorsGCSDataPortal: 39 commits, 8 files, 3 authorsGovernment-Grants-Information-System-Metadata: 20 commits, 2,542 files, 8 authorsGrants-Lifecycle-Utility: 33 commits, 2,042 files, 8 authorsMonitor-Gcs-Data-Portal: 7 commits, 8 files, 2 authorsONS-Trade-Analysis: 14 commits, 6 files, 1 authorsScrape-List-Of-Government-Organisations: 7 commits, 4 files, 2 authorsUpdate-Org-Lookup: 27 commits, 4 files, 2 authorsaction-bump-semver: 23 commits, 21 files, 5 authorsamazon-bedrock-rag: 46 commits, 48 files, 9 authorscciaf: 29 commits, 205 files, 3 authorscciaf-prototypes: 5 commits, 13 files, 2 authorsccs-intranet-wagtail: 13 commits, 2 files, 4 authorsco-cookie-consent: 19 commits, 8 files, 2 authorsco-jao: 163 commits, 408 files, 7 authorsco-papt-prototype: 264 commits, 28,724 files, 8 authorscod_bfs_api_dev_portal_cfn: 878 commits, 2,457 files, 49 authorscoding-exercise: 20 commits, 3 files, 5 authorscointranet-infra: 102 commits, 4 files, 2 authorscookie-consent-sfdc: 15 commits, 40 files, 1 authorscookie-consent-wp: 36 commits, 29 files, 5 authorscop26-edge: 62 commits, 21 files, 4 authorsdigital-handbook: 291 commits, 72 files, 11 authorsequality-hub-govcharts: 9 commits, 27 files, 1 authorsfb-av: 170 commits, 16 files, 21 authorsfb-editor: 6,102 commits, 1,072 files, 38 authorsfb-jwt-auth: 69 commits, 24 files, 11 authorsfb-metadata-api: 1,026 commits, 123 files, 19 authorsfb-metadata-presenter: 1,383 commits, 482 files, 23 authorsfb-runner: 2,158 commits, 198 files, 19 authorsfb-service-token-cache: 815 commits, 83 files, 27 authorsfb-submitter: 1,657 commits, 175 files, 35 authorsfb-user-datastore: 1,000 commits, 126 files, 28 authorsfb-user-filestore: 968 commits, 121 files, 28 authorsformbuilder-product-page: 632 commits, 156 files, 26 authorsgap-apply-event-service: 54 commits, 41 files, 5 authorsgap-automated-tests: 1,156 commits, 105 files, 34 authorsgap-find-admin-backend: 1,270 commits, 528 files, 38 authorsgap-find-api-admin: 397 commits, 97 files, 16 authorsgap-find-applicant-backend: 568 commits, 256 files, 41 authorsgap-find-apply-web: 2,564 commits, 987 files, 43 authorsgap-find-backend: 497 commits, 135 files, 34 authorsgap-find-lambda-scheduled-publishing: 25 commits, 17 files, 12 authorsgap-find-lambda-submission-export: 212 commits, 48 files, 27 authorsgap-find-lambda-upload: 17 commits, 18 files, 10 authorsgap-find-open-data-api: 600 commits, 101 files, 15 authorsgap-find-spotlight-publisher: 74 commits, 58 files, 12 authorsgap-find-web: 702 commits, 357 files, 42 authorsgap-lambda-update-open-search: 23 commits, 13 files, 4 authorsgap-serenity-bdd-prototype: 14 commits, 9 files, 5 authorsgap-user-service: 1,080 commits, 233 files, 41 authorsgcgs-cdp-documentation: 97 commits, 85 files, 4 authorsgender-pay-gap: 4,761 commits, 1 files, 25 authorsggis-prototypes: 67 commits, 73 files, 2 authorsgovuk-blogs: 45 commits, 90 files, 5 authorsgovuk-design-system-dotnet: 408 commits, 242 files, 18 authorsgpa-datahub-lambda-template: 111 commits, 25 files, 19 authorsgrants-centre-of-expertise: 82 commits, 1,351 files, 4 authorsgsg-guidance: 155 commits, 29 files, 9 authorsinternal-dependency-checker: 487 commits, 153 files, 12 authorsisc-content-blocks: 27 commits, 30 files, 6 authorslaravel-breeze-govuk-frontend: 14 commits, 44 files, 2 authorslaravel-govuk-frontend-preset: 21 commits, 28 files, 1 authorslgbt-survey-viewer: 9 commits, 8 files, 3 authorslife-chances-fund: 12 commits, 1,163 files, 3 authorslife-chances-fund-2: 35 commits, 1,118 files, 3 authorsmandatory-questions-prototype: 90 commits, 205 files, 4 authorsmentor-match: 731 commits, 95 files, 14 authorsmta-sts.cabinetoffice.gov.uk: 18 commits, 15 files, 4 authorsnational-leadership-centre-docs: 68 commits, 42 files, 6 authorsnational-leadership-centre-drupal: 1,261 commits, 832 files, 13 authorsnational-leadership-centre-elgg: 14 commits, 51 files, 4 authorsnational-leadership-centre-neo4j: 67 commits, 49 files, 3 authorsnational-leadership-centre-terraform: 24 commits, 31 files, 3 authorsnational-leadership-centre-terragrunt: 28 commits, 14 files, 2 authorsnational-leadership-centre-website: 1,009 commits, 177 files, 24 authorsnista_generation_themefinder: 228 commits, 55 files, 12 authorsnode-api-sdk: 138 commits, 38 files, 11 authorsnode-logging: 95 commits, 39 files, 10 authorsnode-login: 41 commits, 35 files, 7 authorsnode-web-template: 244 commits, 92 files, 13 authorsocds_uk_extension: 37 commits, 11 files, 3 authorsoh-my-zsh: 2,203 commits, 372 files, 660 authorsova-alpha: 2,412 commits, 285 files, 112 authorsova-finder-prototype: 10 commits, 22 files, 2 authorsova-verification-alpha-phase-prototype: 461 commits, 194 files, 7 authorsova-veteransportal-prototype: 90 commits, 9,430 files, 7 authorspeoplefinder: 2,971 commits, 568 files, 52 authorspolicy-engine: 6 commits, 43 files, 1 authorsr-buildpack: 404 commits, 809 files, 32 authorsrequest-an-aws-account-gds-fork: 753 commits, 131 files, 55 authorsrequest-service-access: 735 commits, 209 files, 12 authorsscout: 222 commits, 191 files, 13 authorssecurity.gov.uk-iac: 153 commits, 47 files, 4 authorssfdc-useful-components: 5 commits, 43 files, 1 authorssftp-transfer-family-terraform: 7 commits, 10 files, 1 authorsslipping: 462 commits, 245 files, 15 authorssso.service.security.gov.uk: 309 commits, 90 files, 4 authorsubuntu-ruby-node-go-nginx-mongo-vagrant-box: 5 commits, 2 files, 2 authorswagtail-wordpress-import: 626 commits, 94 files, 9 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

srcsrc: 2828appapp: 1818configconfig: 1717liblib: 1616docsdocs: 1313publicpublic: 1313binbin: 1313.circleci.circleci: 1111scriptsscripts: 1010specspec: 1010testtest: 99loglog: 99.husky.husky: 99teststests: 99dbdb: 88tmptmp: 88deploy-eksdeploy-eks: 77vendorvendor: 77

Most common file extensions

By total file count across the estate.

.js.js: 20.3k20.3k.ts.ts: 5.7k5.7k.map.map: 4.1k4.1k.json.json: 3.4k3.4k.xml.xml: 3.4k3.4k.md.md: 3.3k3.3k.html.html: 2.7k2.7k.cs.cs: 2.1k2.1k.rb.rb: 1.6k1.6k.png.png: 1.2k1.2k.yml.yml: 1.1k1.1k.java.java: 1k1k.scss.scss: 800800.php.php: 737737.role.role: 689689.cls.cls: 678678

The twenty largest repositories

RepositoryLanguageGit size CommitsFilesStatus
Grants-Lifecycle-UtilityC#105.9 MB332,042active
cod_bfs_api_dev_portal_cfnJavaScript103.7 MB8782,457active
lgbt-survey-viewerR88.9 MB98active
national-leadership-centre-websiteJavaScript65.7 MB1,009177archived
slippingCSS59.6 MB462245archived
gender-pay-gap-48.0 MB4,7611active
digital-handbookHTML43.7 MB29172active
co-papt-prototypeHTML38.1 MB26428,724archived
GCGS-Central-Digital-PlatformC#25.7 MB13,9013,272active
Government-Grants-Information-System-MetadataApex25.4 MB202,542active
ova-alphaHTML18.9 MB2,412285archived
oh-my-zshShell17.8 MB2,203372archived
ova-veteransportal-prototypeHTML16.1 MB909,430archived
r-buildpackGo14.7 MB404809archived
formbuilder-product-pageHTML9.9 MB632156active
fb-editorRuby8.4 MB6,1021,072active
national-leadership-centre-drupalPHP7.4 MB1,261832archived
gap-find-apply-webTypeScript7.2 MB2,564987active
grants-centre-of-expertisePHP6.6 MB821,351archived
peoplefinderHTML5.1 MB2,971568active