← all organisations

biglotteryfund / Code

11 languages, 2.5 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

11
languages in use
2.5 MB of source
1.2k
files at HEAD
across every analysed repository
0 B
on disk as mirrors
full history, every branch and tag
118.0 MB
largest repository
blf-alpha

What stands out

One archived repository holds 94% of all the bytes.

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

81% 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: 1.6 MB1.6 MBNunjucksNunjucks: 498.5 kB498.5 kBSCSSSCSS: 188.8 kB188.8 kBPHPPHP: 110.9 kB110.9 kBVueVue: 63.2 kB63.2 kBHTMLHTML: 31.2 kB31.2 kBShellShell: 21.8 kB21.8 kBCSSCSS: 4.7 kB4.7 kBTypeScriptTypeScript: 1.9 kB1.9 kBBatchfileBatchfile: 330 B330 BTwigTwig: 165 B165 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: 1212HTMLHTML: 66ShellShell: 44PHPPHP: 33CSSCSS: 22NunjucksNunjucks: 11SCSSSCSS: 11VueVue: 11BatchfileBatchfile: 11TwigTwig: 11TypeScriptTypeScript: 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: 99PHPPHP: 33ShellShell: 11HTMLHTML: 11

Archived repositories

JavaScriptJavaScript: 11PHPPHP: 00ShellShell: 00HTMLHTML: 00

Scale

Repository size distribution

Git data per repository, log-ish buckets.

75.23.51.80< 10 kB: 2< 10 kB< 100 kB: 7< 100 kB< 1 MB: 4< 1 MB< 10 MB: 2< 10 MB< 100 MB: 0< 100 MB100 MB +: 1100 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.236.35.0619.965.8217.8721.0a11y-tests: 16 commits, 6 files, 2 authorsanalytics: 34 commits, 7 files, 3 authorsapi-tests: 70 commits, 15 files, 7 authorsapplications-service: 112 commits, 32 files, 4 authorsblf-alpha: 13,857 commits, 721 files, 31 authorscraft-dev: 1,424 commits, 280 files, 17 authorscraft-preview-button: 19 commits, 13 files, 7 authorscrossbrowsertesting: 44 commits, 8 files, 4 authorsdashboard: 33 commits, 13 files, 5 authorsgrants-service: 675 commits, 43 files, 12 authorspsd-map: 12 commits, 17 files, 3 authorsrecentchanges: 7 commits, 18 files, 2 authorstools: 5 commits, 11 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

binbin: 44configconfig: 33viewsviews: 22publicpublic: 22docsdocs: 22deploydeploy: 22liblib: 22srcsrc: 22resourcesresources: 22test-suitestest-suites: 11appsapps: 11servicesservices: 11modelsmodels: 11middlewaremiddleware: 11controllerscontrollers: 11assetsassets: 11commoncommon: 11dbdb: 11

Most common file extensions

By total file count across the estate.

.js.js: 382382.yaml.yaml: 208208.njk.njk: 173173.png.png: 6262.md.md: 4747.scss.scss: 4646.json.json: 4242.php.php: 3535.vue.vue: 2525.snap.snap: 2020.jpg.jpg: 1717.sh.sh: 1212.yml.yml: 1111.eps.eps: 66.svg.svg: 66.css.css: 33

The twenty largest repositories

RepositoryLanguageGit size CommitsFilesStatus
blf-alphaJavaScript118.0 MB13,857721active
grants-serviceJavaScript4.2 MB67543active
craft-devPHP1.4 MB1,424280active
api-testsJavaScript900.1 kB7015active
dictionary-cy-gbJavaScript691.2 kB17active
applications-serviceJavaScript196.6 kB11232active
crossbrowsertestingJavaScript148.5 kB448archived
dashboardJavaScript86.0 kB3313active
craft-preview-buttonPHP84.0 kB1913active
psd-mapHTML68.6 kB1217active
analyticsJavaScript55.3 kB347active
recentchangesPHP39.9 kB718active
a11y-testsShell35.8 kB166active
toolsJavaScript33.8 kB511active
deploy-notifierJavaScript2.0 kB22active
redirectotron-2.0 kB32active