← all organisations

Planning-Inspectorate / Code

18 languages, 218.9 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
218.9 MB of source
38.6k
files at HEAD
across every analysed repository
0 B
on disk as mirrors
full history, every branch and tag
134.5 MB
largest repository
appeals-back-office

What stands out

One archived repository holds 15% of all the bytes.

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

37% 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: 160.2 MB160.2 MBJavaScriptJavaScript: 37.2 MB37.2 MBTypeScriptTypeScript: 6.8 MB6.8 MBPythonPython: 5.4 MB5.4 MBNunjucksNunjucks: 4.0 MB4.0 MBHCLHCL: 2.0 MB2.0 MBCSSCSS: 1.6 MB1.6 MBTSQLTSQL: 781.9 kB781.9 kBSCSSSCSS: 477.7 kB477.7 kBGherkinGherkin: 172.9 kB172.9 kBJupyter NotebookJupyter Notebook: 112.1 kB112.1 kBASLASL: 51.4 kB51.4 kBShellShell: 25.7 kB25.7 kBDockerfileDockerfile: 23.7 kB23.7 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: 4040NunjucksNunjucks: 3131SCSSSCSS: 3131DockerfileDockerfile: 2626HTMLHTML: 2020HCLHCL: 2020ShellShell: 1313TSQLTSQL: 1111TypeScriptTypeScript: 1010PythonPython: 88ASLASL: 44PowerShellPowerShell: 44MakefileMakefile: 33ProcfileProcfile: 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

JavaScriptJavaScript: 1212HTMLHTML: 1212TypeScriptTypeScript: 66PythonPython: 66HCLHCL: 55NunjucksNunjucks: 11PowerShellPowerShell: 11VueVue: 00

Archived repositories

JavaScriptJavaScript: 44HTMLHTML: 11TypeScriptTypeScript: 00PythonPython: 00HCLHCL: 00NunjucksNunjucks: 11PowerShellPowerShell: 00VueVue: 11

Scale

Repository size distribution

Git data per repository, log-ish buckets.

1712.88.54.20< 10 kB: 3< 10 kB< 100 kB: 1< 100 kB< 1 MB: 15< 1 MB< 10 MB: 17< 10 MB< 100 MB: 11< 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.

38.1k5.6k828.1122.118.02183.8334.81.3k5.3kappeal-planning-decision: 31,303 commits, 3,343 files, 153 authorsappeals-back-office: 16,725 commits, 3,712 files, 153 authorsappeals-prototype: 2,072 commits, 5,337 files, 14 authorsapplications-backoffice-prototype: 69 commits, 137 files, 9 authorsapplications-dco-portal: 1,382 commits, 534 files, 19 authorsapplications-dco-portal-prototype: 69 commits, 228 files, 5 authorsapplications-prototype: 935 commits, 3,659 files, 22 authorsapplications-service: 6,878 commits, 2,585 files, 101 authorsapplications-service-prototype: 267 commits, 277 files, 7 authorsback-office: 15,868 commits, 1,817 files, 131 authorsback-office-appeals-prototype: 1,990 commits, 4,345 files, 25 authorsback-office-prototype: 292 commits, 927 files, 12 authorscasework-portal: 382 commits, 121 files, 9 authorscoding-standards: 29 commits, 21 files, 4 authorscommon-pipeline-templates: 491 commits, 61 files, 16 authorscrown-developments: 3,840 commits, 904 files, 25 authorscrown-developments-prototype: 701 commits, 1,255 files, 7 authorsdata-model: 962 commits, 220 files, 59 authorsdesign-patterns: 152 commits, 65 files, 13 authorsdynamic-forms: 945 commits, 216 files, 22 authorsexample-app: 190 commits, 74 files, 13 authorsexample-app-dynamic: 27 commits, 166 files, 3 authorsexample-code: 29 commits, 95 files, 3 authorshouseholder-appeal-prototype: 1,109 commits, 985 files, 17 authorsidentify-consultees: 344 commits, 153 files, 8 authorsinfrastructure-environments: 4,527 commits, 270 files, 94 authorsinfrastructure-modules: 367 commits, 35 files, 19 authorsinfrastructure-tooling: 672 commits, 49 files, 18 authorsinspector-programming: 2,151 commits, 330 files, 15 authorsinspector-programming-poc: 310 commits, 90 files, 5 authorslocal-plans-examinations: 1,876 commits, 540 files, 25 authorslocal-plans-examinations-prototype: 416 commits, 1,307 files, 9 authorsmpesc-prototype: 250 commits, 280 files, 6 authorsmulti-case-type-system-poc: 29 commits, 167 files, 3 authorsodw-azure-functions: 1,080 commits, 130 files, 35 authorsodw-common: 366 commits, 32 files, 23 authorsodw-config: 549 commits, 431 files, 43 authorsodw-infrastructure: 2,258 commits, 244 files, 60 authorsodw-purview: 181 commits, 32 files, 9 authorsodw-synapse-workspace: 38,097 commits, 1,883 files, 104 authorspeas-row-commons: 1,797 commits, 640 files, 20 authorsprototype-template: 18 commits, 43 files, 6 authorsprototypes-common-infrastructure: 166 commits, 21 files, 8 authorsredaction-system: 1,571 commits, 179 files, 18 authorssection-62a-prototype: 135 commits, 314 files, 6 authorsservice-common: 319 commits, 82 files, 28 authorstemplate-service: 711 commits, 182 files, 9 authorsvuex-example: 36 commits, 27 files, 2 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

infrastructureinfrastructure: 1818.husky.husky: 1818appapp: 1616.azure.azure: 1616pipelinespipelines: 1515packagespackages: 1414docsdocs: 1111.vscode.vscode: 1111appsapps: 1010scriptsscripts: 99pipelinepipeline: 66srcsrc: 66.idea.idea: 55liblib: 33teststests: 33gulpgulp: 22architecturearchitecture: 22uploadsuploads: 22

Most common file extensions

By total file count across the estate.

.html.html: 17.6k17.6k.js.js: 10k10k.json.json: 2.4k2.4k.ts.ts: 1.8k1.8k.njk.njk: 1.5k1.5k.md.md: 833833.sql.sql: 778778.py.py: 631631.tf.tf: 621621.scss.scss: 376376.snap.snap: 260260.yml.yml: 236236.yaml.yaml: 205205.png.png: 201201.pdf.pdf: 102102.hcl.hcl: 7272

The twenty largest repositories

RepositoryLanguageGit size CommitsFilesStatus
appeals-back-officeJavaScript134.5 MB16,7253,712active
appeal-planning-decisionJavaScript121.0 MB31,3033,343active
applications-serviceJavaScript116.1 MB6,8782,585active
back-officeJavaScript114.1 MB15,8681,817active
redaction-systemPython87.9 MB1,571179active
odw-synapse-workspacePython53.9 MB38,0971,883active
odw-infrastructureHCL45.5 MB2,258244active
odw-azure-functionsPython23.2 MB1,080130active
householder-appeal-prototypeHTML21.9 MB1,109985archived
appeals-prototypeHTML20.2 MB2,0725,337active
applications-backoffice-prototypeHTML18.5 MB69137active
local-plans-examinations-prototypeHTML15.6 MB4161,307active
applications-service-prototypeHTML15.4 MB267277active
design-patternsHTML12.3 MB15265active
inspector-programmingJavaScript11.6 MB2,151330active
applications-prototypeHTML9.8 MB9353,659active
back-office-appeals-prototypeHTML9.3 MB1,9904,345active
crown-developmentsTypeScript5.2 MB3,840904active
infrastructure-environmentsHCL3.6 MB4,527270active
infrastructure-modulesHCL3.6 MB36735active