← all organisations

DFEAGILEDEVOPS / Code

20 languages, 14.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

20
languages in use
14.6 MB of source
7.5k
files at HEAD
across every analysed repository
0 B
on disk as mirrors
full history, every branch and tag
170.4 MB
largest repository
SFB.Web.Infrastructure

What stands out

One archived repository holds 33% of all the bytes.

SFB.Web.Infrastructure is 170.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 (13% 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.

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

JavaScriptJavaScript: 4.4 MB4.4 MBC#C#: 2.8 MB2.8 MBTypeScriptTypeScript: 2.2 MB2.2 MBHTMLHTML: 2.0 MB2.0 MBRubyRuby: 1.2 MB1.2 MBEJSEJS: 549.6 kB549.6 kBCSSCSS: 454.0 kB454.0 kBTSQLTSQL: 352.8 kB352.8 kBSCSSSCSS: 327.6 kB327.6 kBGherkinGherkin: 209.2 kB209.2 kBShellShell: 141.5 kB141.5 kBDockerfileDockerfile: 21.6 kB21.6 kBPythonPython: 21.1 kB21.1 kBGroovyGroovy: 8.6 kB8.6 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: 1414HTMLHTML: 99C#C#: 88CSSCSS: 88ShellShell: 77TypeScriptTypeScript: 44SCSSSCSS: 44PowerShellPowerShell: 22ASPASP: 11RubyRuby: 11EJSEJS: 11TSQLTSQL: 11GherkinGherkin: 11DockerfileDockerfile: 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: 77C#C#: 22ShellShell: 33CSSCSS: 22HTMLHTML: 11TypeScriptTypeScript: 00GroovyGroovy: 11

Archived repositories

JavaScriptJavaScript: 00C#C#: 33ShellShell: 00CSSCSS: 00HTMLHTML: 11TypeScriptTypeScript: 22GroovyGroovy: 00

Scale

Repository size distribution

Git data per repository, log-ish buckets.

64.531.50< 10 kB: 0< 10 kB< 100 kB: 6< 100 kB< 1 MB: 6< 1 MB< 10 MB: 6< 10 MB< 100 MB: 4< 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.

28.8k3.5k416.050.06.08.035.0152.9668.62.9kACDPP: 42 commits, 289 files, 3 authorsLucene.Net.Linq: 239 commits, 220 files, 13 authorsMTC: 28,842 commits, 2,923 files, 52 authorsSFB.EF.UI: 272 commits, 187 files, 13 authorsSFB.SAD.UI: 428 commits, 213 files, 13 authorsSFB.Web.API: 184 commits, 20 files, 12 authorsSFB.Web.ApplicationCore: 200 commits, 93 files, 9 authorsSFB.Web.Infrastructure: 224 commits, 2,007 files, 9 authorsSchools.Financial.Benchmarking: 2,714 commits, 751 files, 25 authorsSimplePaaS: 105 commits, 27 files, 6 authorsSimplePaaSSprint0: 36 commits, 99 files, 11 authorsSimplePaaSSprint2: 7 commits, 16 files, 1 authorscloud-platform-docs: 52 commits, 18 files, 4 authorsdfe-platform-tool: 42 commits, 27 files, 2 authorsexpress-breadcrumbs: 6 commits, 8 files, 3 authorsexpressjs-csurf: 12 commits, 10 files, 3 authorsgovuk-blank: 60 commits, 342 files, 4 authorsgovuk-styleguide-theme: 10 commits, 11 files, 2 authorsless-tedious: 66 commits, 16 files, 6 authorsnode-sql-migrations: 47 commits, 20 files, 12 authorsos-infrastructure: 33 commits, 167 files, 5 authorss2i-rshiny: 20 commits, 11 files, 2 authorstypeahead.js: 702 commits, 68 files, 97 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: 55.vscode.vscode: 44binbin: 33srcsrc: 33docsdocs: 22e2ee2e: 22.vs.vs: 22scriptsscripts: 22Dashboard.NetDashboard.Net: 11Dashboard.NetCore2Dashboard.NetCore2: 11Extensions.NetExtensions.Net: 11Notify.NetCore2Notify.NetCore2: 11Extensions.NetCore2Extensions.NetCore2: 11VstsManager.NetVstsManager.Net: 11sourcesource: 11.nuget.nuget: 11adminadmin: 11pupil-spapupil-spa: 11

Most common file extensions

By total file count across the estate.

.js.js: 887887.ts.ts: 702702.png.png: 660660.dll.dll: 652652.cs.cs: 578578.xml.xml: 501501.sql.sql: 369369._._: 327327.rb.rb: 257257.cshtml.cshtml: 223223.scss.scss: 205205.json.json: 182182.ejs.ejs: 143143.sh.sh: 129129.md.md: 114114.txt.txt: 113113

The twenty largest repositories

RepositoryLanguageGit size CommitsFilesStatus
SFB.Web.InfrastructureC#170.4 MB2242,007archived
SFB.Web.APIC#142.1 MB18420archived
Schools.Financial.BenchmarkingHTML87.3 MB2,714751archived
MTCJavaScript75.0 MB28,8422,923active
SFB.Web.ApplicationCoreC#12.5 MB20093archived
ACDPPC#12.2 MB42289active
Lucene.Net.LinqC#5.4 MB239220active
cloud-platform-docs-3.3 MB5218active
typeahead.jsJavaScript2.4 MB70268active
SFB.SAD.UITypeScript1.9 MB428213archived
SFB.EF.UITypeScript1.7 MB272187archived
SimplePaaSSprint0CSS1.2 MB3699active
govuk-blankCSS784.4 kB60342active
less-tediousJavaScript311.3 kB6616active
os-infrastructureShell145.4 kB33167active
govuk-styleguide-themeHTML142.3 kB1011active
SimplePaaSShell136.2 kB10527active
dfe-platform-toolJavaScript113.7 kB4227active
node-sql-migrationsJavaScript36.9 kB4720active
express-breadcrumbsJavaScript30.7 kB68active