← all organisations

FoodStandardsAgency / Code

13 languages, 6.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

13
languages in use
6.3 MB of source
14.9k
files at HEAD
across every analysed repository
0 B
on disk as mirrors
full history, every branch and tag
75.1 MB
largest repository
TradeDataVis

What stands out

One archived repository holds 68% of all the bytes.

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

33% 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: 2.8 MB2.8 MBHTMLHTML: 1.4 MB1.4 MBC#C#: 780.7 kB780.7 kBRR: 482.0 kB482.0 kBNunjucksNunjucks: 252.4 kB252.4 kBGherkinGherkin: 211.7 kB211.7 kBTSQLTSQL: 199.6 kB199.6 kBCSSCSS: 172.2 kB172.2 kBSCSSSCSS: 37.5 kB37.5 kBShellShell: 14.0 kB14.0 kBPythonPython: 6.0 kB6.0 kBDockerfileDockerfile: 2.1 kB2.1 kBASP.NETASP.NET: 113 B113 B

By number of repositories

How many repositories name each language as their primary one. A better guide to what engineers actually work in.

JavaScriptJavaScript: 77ShellShell: 55DockerfileDockerfile: 55HTMLHTML: 33CSSCSS: 33RR: 33SCSSSCSS: 22GherkinGherkin: 22C#C#: 11TSQLTSQL: 11ASP.NETASP.NET: 11PythonPython: 11NunjucksNunjucks: 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: 44HTMLHTML: 33RR: 22C#C#: 11GherkinGherkin: 11

Archived repositories

JavaScriptJavaScript: 00HTMLHTML: 00RR: 00C#C#: 00GherkinGherkin: 00

Scale

Repository size distribution

Git data per repository, log-ish buckets.

64.531.50< 10 kB: 1< 10 kB< 100 kB: 1< 100 kB< 1 MB: 2< 1 MB< 10 MB: 6< 10 MB< 100 MB: 2< 100 MB100 MB +: 0100 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.

3.5k1.2k444.1159.157.029134.7625.82.9k13.5kFSA_mkdocs_theme: 57 commits, 13,503 files, 5 authorsTradeDataVis: 160 commits, 45 files, 6 authorsfsa-portfolio-backend: 594 commits, 319 files, 5 authorsfsa-portfolio-front-end: 401 commits, 125 files, 8 authorslit-fetch: 126 commits, 77 files, 10 authorsregister-a-food-business-UI-tests: 675 commits, 177 files, 43 authorsregister-a-food-business-environment: 139 commits, 29 files, 17 authorsregister-a-food-business-front-end: 3,460 commits, 279 files, 60 authorsregister-a-food-business-service: 2,031 commits, 212 files, 56 authorsregister-a-food-business-validation: 393 commits, 101 files, 28 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: 66srcsrc: 33.vscode.vscode: 33teststests: 22scriptsscripts: 22ons_mkdocs_themeons_mkdocs_theme: 11DocumentationDocumentation: 11File Glossary and SpecificationsFile Glossary and Specifications: 11Past Shiny VersionsPast Shiny Versions: 112022 Updates2022 Updates: 11ShinyCurrentShinyCurrent: 112023 Updates2023 Updates: 11UtilitiesUtilities: 11supersededsuperseded: 11FSAPortfolio.ApplicationFSAPortfolio.Application: 11FSAPortfolio.EntitesFSAPortfolio.Entites: 11FSAPortfolio.DatabaseFSAPortfolio.Database: 11FSAPortfolio.UnitTestsFSAPortfolio.UnitTests: 11

Most common file extensions

By total file count across the estate.

.svg.svg: 13.3k13.3k.js.js: 586586.cs.cs: 209209.html.html: 134134.njk.njk: 6868.md.md: 6767.feature.feature: 5656.r.r: 4747.sql.sql: 4747.json.json: 3939.yml.yml: 3434.sh.sh: 3333.scss.scss: 2525.py.py: 2424.rd.rd: 2222.config.config: 1717

The twenty largest repositories

RepositoryLanguageGit size CommitsFilesStatus
TradeDataVisR75.1 MB16045active
register-a-food-business-front-endJavaScript15.4 MB3,460279active
FSA_mkdocs_themeHTML6.4 MB5713,503active
register-a-food-business-serviceJavaScript6.0 MB2,031212active
fsa-portfolio-backendC#2.3 MB594319active
register-a-food-business-UI-testsGherkin2.2 MB675177active
register-a-food-business-validationJavaScript1.3 MB393101active
fsa-portfolio-front-endHTML1.0 MB401125active
lit-fetchHTML719.9 kB12677active
register-a-food-business-environmentJavaScript134.1 kB13929active
python-crud-74.8 kB44active
NDNS-bodyweightR5.1 kB33active