← all organisations

fsadata / Code

3 languages, 1.4 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

3
languages in use
1.4 MB of source
4.4k
files at HEAD
across every analysed repository
0 B
on disk as mirrors
full history, every branch and tag
9.8 MB
largest repository
approved-food-establishments

What stands out

One archived repository holds 29% of all the bytes.

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

95% 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: 1.3 MB1.3 MBCSSCSS: 87.1 kB87.1 kBRR: 1.4 kB1.4 kB

By number of repositories

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

HTMLHTML: 118118CSSCSS: 118118RR: 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

HTMLHTML: 118118RR: 11

Archived repositories

HTMLHTML: 00RR: 00

Scale

Repository size distribution

Git data per repository, log-ish buckets.

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

267.098.836.513.55.026.823.178.3266.0FoodFeedDataStandard: 135 commits, 2 files, 3 authorsProsecutions-Data-Standard: 20 commits, 3 files, 1 authorsRCDMSamplingDataStandard: 134 commits, 2 files, 5 authorsRedTractorDataStandard: 128 commits, 2 files, 4 authorsall-gpc-transparency-reports: 46 commits, 128 files, 2 authorsallergy-alerts: 20 commits, 44 files, 2 authorsanimal-welfare-and-hygiene-compliance-sections: 15 commits, 30 files, 2 authorsanimal-welfare-non-compliances-in-approved-slaughterhouses: 37 commits, 38 files, 1 authorsapproved-food-establishments: 110 commits, 102 files, 1 authorsapproved-less-than-thoroughly-cooked-meat-establishments: 82 commits, 90 files, 1 authorsauthorisations-held-by-fsa-staff: 7 commits, 14 files, 2 authorsaverage-daily-footfall-in-aviation-house-by-week: 6 commits, 16 files, 1 authorsbetter-training-for-safer-food: 5 commits, 18 files, 1 authorsbiotoxin-official-control-sampling-schedule: 35 commits, 32 files, 1 authorsboard-and-directors-registered-gifts-and-hospitality: 35 commits, 57 files, 2 authorsbulletins-sent-out-for-the-fsa-email-and-sms-alerts-service: 7 commits, 16 files, 2 authorscash-management: 99 commits, 112 files, 3 authorscattle-conditions: 49 commits, 44 files, 3 authorscertificates-of-competence: 17 commits, 20 files, 3 authorscompleted-internal-audits: 23 commits, 38 files, 2 authorscorrespondence-case-record-branch: 6 commits, 16 files, 1 authorscorrespondence-case-record-ministerial: 8 commits, 18 files, 1 authorscorrespondence-case-record-treat-official: 5 commits, 16 files, 1 authorsdairy-inspections: 8 commits, 18 files, 2 authorsdata-sharing-register: 5 commits, 16 files, 1 authorsdebt-recovery-debtor-days: 95 commits, 114 files, 3 authorsdirectors-and-board-members-expenses: 37 commits, 91 files, 2 authorsenforcement-data-enforcement-reports: 7 commits, 20 files, 2 authorsestates-data: 7 commits, 32 files, 1 authorsfci-ccir-iris-conditions-cattle: 6 commits, 14 files, 1 authorsfci-ccir-iris-conditions-sheep-and-goats: 5 commits, 14 files, 1 authorsfield-operations-staff-hours: 107 commits, 114 files, 3 authorsfood-and-feed-businesses-subject-to-re-enforced-checks: 267 commits, 266 files, 1 authorsfood-hygiene-ratings-website-traffic: 16 commits, 20 files, 2 authorsfood-standards-agency-business-appointment-rules: 31 commits, 38 files, 2 authorsformal-complaints-about-the-food-standards-agency: 10 commits, 20 files, 3 authorsfreedom-of-information-case-logs: 10 commits, 18 files, 1 authorsfsa-headcount: 5 commits, 16 files, 1 authorsfsa-pay-scales: 9 commits, 24 files, 3 authorsfsa-workforce-management-information: 90 commits, 102 files, 1 authorshelpline-activity: 6 commits, 14 files, 1 authorsinformation-management-and-security-team-enquiry-log: 6 commits, 18 files, 1 authorsinternal-audit-plan: 18 commits, 26 files, 2 authorslaundry-garments: 5 commits, 16 files, 1 authorslocal-authority-enforcement-monitoring-system-laems-data: 41 commits, 38 files, 3 authorsmeat-establishment-audits: 123 commits, 114 files, 1 authorsmicrobiological-official-control-sampling-schedule: 24 commits, 30 files, 1 authorsnorthern-ireland-biotoxin-results-2020: 138 commits, 146 files, 1 authorsnorthern-ireland-microbiological-results-2020: 135 commits, 138 files, 1 authorsnorthern-ireland-phytoplankton-results-2020: 134 commits, 140 files, 1 authorsnumber-of-certificates-of-competence-and-slaughter-licences-revoked-or-suspended: 9 commits, 20 files, 1 authorsother-species-conditions-data: 46 commits, 38 files, 2 authorspig-conditions: 38 commits, 44 files, 3 authorspoultry-conditions: 33 commits, 46 files, 3 authorspoultry-inspection-assistant: 12 commits, 18 files, 2 authorsprimary-authority-inspection-plans: 6 commits, 14 files, 1 authorsprivacy-impact-assessments-register: 5 commits, 16 files, 1 authorsproduct-recalls-and-withdrawals: 20 commits, 44 files, 2 authorsprompt-payment-data: 13 commits, 24 files, 1 authorsradiological-monitoring-data: 11 commits, 17 files, 2 authorsraw-cows-drinking-milk-quarterly-sampling: 8 commits, 18 files, 2 authorsregistered-dairy-establishments: 77 commits, 100 files, 1 authorsregistered-raw-drinking-milk-producers: 111 commits, 100 files, 1 authorssalmonella-testing-programme: 7 commits, 18 files, 1 authorsscheduled-dairy-visits: 63 commits, 20 files, 1 authorssecurity-audit-schedule: 5 commits, 14 files, 1 authorssheep-goat-conditions: 58 commits, 46 files, 2 authorsshellfish-monitoring: 33 commits, 55 files, 3 authorsspend-over-25-000-in-the-food-standards-agency: 76 commits, 114 files, 2 authorssubject-access-requests: 5 commits, 16 files, 1 authorssubscriber-numbers-for-the-fsa-email-and-sms-alerts-service: 6 commits, 16 files, 2 authorssummary-of-incident-notifications-received-by-the-food-standards-agency: 41 commits, 85 files, 2 authorssystematic-literature-review-a-c-on-infant-feeding-and-development-of-atopic-and-autoimmune-disease: 26 commits, 25 files, 1 authorstestdatanames: 5 commits, 16 files, 1 authorsthroughput-in-approved-slaughterhouses: 30 commits, 40 files, 1 authorstrade-control-expert-system-food-of-non-animal-origin: 105 commits, 108 files, 3 authorstrade-control-expert-system-products-of-animal-origin: 109 commits, 110 files, 2 authorswater-official-control-sampling-schedule: 20 commits, 28 files, 1 authorswisdom-data-usage: 23 commits, 40 files, 1 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

datadata: 118118_layouts_layouts: 118118_includes_includes: 118118csscss: 118118jsjs: 118118rsconnectrsconnect: 11

Most common file extensions

By total file count across the estate.

.md.md: 1.6k1.6k.csv.csv: 1.5k1.5k.html.html: 708708.json.json: 229229.yml.yml: 118118.css.css: 118118.js.js: 118118.dcf.dcf: 33.xlsx.xlsx: 22.cpg.cpg: 11.dbf.dbf: 11.prj.prj: 11.shp.shp: 11.shx.shx: 11.xml.xml: 11.r.r: 11

The twenty largest repositories

RepositoryLanguageGit size CommitsFilesStatus
approved-food-establishmentsHTML9.8 MB110102active
trade-control-expert-system-products-of-animal-originHTML7.0 MB109110active
meat-establishment-auditsHTML3.1 MB123114active
registered-dairy-establishmentsHTML2.3 MB77100active
trade-control-expert-system-food-of-non-animal-originHTML1.2 MB105108active
RawMilkMapR1.1 MB412active
young-people-and-food-allergies-intolerances-2018HTML574.5 kB413active
shellfish-monitoringHTML560.1 kB3355active
food-and-feed-businesses-subject-to-re-enforced-checksHTML422.9 kB267266active
spend-over-25-000-in-the-food-standards-agencyHTML374.8 kB76114active
poultry-conditionsHTML327.7 kB3346active
fsa-workforce-management-informationHTML301.1 kB90102active
laundry-garmentsHTML281.6 kB516active
registered-raw-drinking-milk-producersHTML278.5 kB111100active
radiological-monitoring-dataHTML271.4 kB1117active
northern-ireland-biotoxin-results-2020HTML264.2 kB138146active
FoodFeedDataStandard-256.0 kB1352active
local-authority-enforcement-monitoring-system-laems-dataHTML244.7 kB4138active
northern-ireland-phytoplankton-results-2020HTML244.7 kB134140active
northern-ireland-microbiological-results-2020HTML224.3 kB135138active