← all organisations

NHSLeadership / Code

15 languages, 11.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

15
languages in use
11.4 MB of source
3.5k
files at HEAD
across every analysed repository
0 B
on disk as mirrors
full history, every branch and tag
15.4 MB
largest repository
nightingale-2-0

What stands out

One archived repository holds 19% of all the bytes.

nightingale-2-0 is 15.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 (23% 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.

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

PHPPHP: 3.5 MB3.5 MBCSSCSS: 3.3 MB3.3 MBHTMLHTML: 2.7 MB2.7 MBJavaScriptJavaScript: 1.3 MB1.3 MBSCSSSCSS: 261.6 kB261.6 kBBladeBlade: 213.0 kB213.0 kBMustacheMustache: 160.5 kB160.5 kBShellShell: 26.1 kB26.1 kBHackHack: 22.6 kB22.6 kBDockerfileDockerfile: 17.6 kB17.6 kBGherkinGherkin: 6.6 kB6.6 kBMakefileMakefile: 4.7 kB4.7 kBNunjucksNunjucks: 3.7 kB3.7 kBCoffeeScriptCoffeeScript: 741 B741 B

By number of repositories

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

PHPPHP: 2020JavaScriptJavaScript: 1414CSSCSS: 1313HTMLHTML: 1111ShellShell: 77SCSSSCSS: 66DockerfileDockerfile: 66HackHack: 33BladeBlade: 22NunjucksNunjucks: 22CoffeeScriptCoffeeScript: 11ApacheConfApacheConf: 11GherkinGherkin: 11MustacheMustache: 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

PHPPHP: 66CSSCSS: 33HTMLHTML: 22JavaScriptJavaScript: 00ShellShell: 00MustacheMustache: 11BladeBlade: 11

Archived repositories

PHPPHP: 44CSSCSS: 33HTMLHTML: 11JavaScriptJavaScript: 22ShellShell: 22MustacheMustache: 00BladeBlade: 00

Scale

Repository size distribution

Git data per repository, log-ish buckets.

96.84.52.20< 10 kB: 1< 10 kB< 100 kB: 5< 100 kB< 1 MB: 8< 1 MB< 10 MB: 9< 10 MB< 100 MB: 3< 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.

1.9k478.4122.331.38.0414.955.7207.7775.0assess: 1,394 commits, 565 files, 12 authorsfrankenphp-base: 36 commits, 22 files, 3 authorslaravel-auth0: 805 commits, 303 files, 84 authorslearninglocker: 1,871 commits, 775 files, 29 authorsmoodle-mod_journal: 269 commits, 40 files, 21 authorsmoodle-nhse: 550 commits, 86 files, 17 authorsmoodle-theme_nightingale: 114 commits, 397 files, 8 authorsnhs-email-templates: 91 commits, 23 files, 14 authorsnhs-prototyping-kit: 215 commits, 73 files, 14 authorsnhsblocks: 598 commits, 98 files, 21 authorsnhsl-custom-js-css-loader: 8 commits, 7 files, 3 authorsnhsl-docker-base: 196 commits, 58 files, 14 authorsnhsl-gravity-forms-name-formatter: 21 commits, 4 files, 6 authorsnhsl-laravel: 107 commits, 82 files, 7 authorsnhsl-ubuntu-php: 131 commits, 13 files, 8 authorsnhsl-vc_block_activity_discuss: 11 commits, 21 files, 4 authorsnhsl-wp-blocks: 48 commits, 29 files, 6 authorsnhsl-wp-widget-latestposts-with-thumbnails: 13 commits, 5 files, 2 authorsnhsxlrs-learninglocker: 37 commits, 23 files, 3 authorsnightingale: 627 commits, 79 files, 23 authorsnightingale-2-0: 1,625 commits, 261 files, 37 authorsnightingale-buddyboss: 84 commits, 265 files, 9 authorsnightingale-companion: 188 commits, 43 files, 12 authorsnightingale-styleguide: 16 commits, 20 files, 5 authorsnightingale-wp: 518 commits, 102 files, 18 authorsxAPI-Recipe-Emitter: 218 commits, 70 files, 8 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

teststests: 66assetsassets: 66langlang: 55docsdocs: 55srcsrc: 44classesclasses: 44templatestemplates: 44jsjs: 44appapp: 33pixpix: 33incinc: 33template-partstemplate-parts: 33publicpublic: 22configconfig: 22bootstrapbootstrap: 22dbdb: 22layoutlayout: 22scssscss: 22

Most common file extensions

By total file count across the estate.

.php.php: 1.6k1.6k.js.js: 493493.scss.scss: 305305.mustache.mustache: 192192.md.md: 103103.png.png: 9797.svg.svg: 9696.json.json: 8383.html.html: 6161.css.css: 5353.yml.yml: 3333.woff2.woff2: 2323.conf.conf: 1717.txt.txt: 1414.map.map: 1111.sh.sh: 1111

The twenty largest repositories

RepositoryLanguageGit size CommitsFilesStatus
nightingale-2-0CSS15.4 MB1,625261active
learninglockerJavaScript14.5 MB1,871775archived
nhsblocksCSS11.0 MB59898active
assessPHP8.4 MB1,394565active
nightingale-wpPHP7.7 MB518102archived
nightingale-buddybossCSS6.7 MB84265archived
nhs-email-templatesHTML5.5 MB9123archived
nhs-prototyping-kitJavaScript2.4 MB21573archived
nightingaleCSS1.8 MB62779archived
nightingale-companionPHP1.5 MB18843active
laravel-auth0PHP1.3 MB805303active
moodle-nhseMustache1.2 MB55086active
nhsl-laravelBlade895.0 kB10782active
nhsl-docker-baseHTML708.6 kB19658active
moodle-theme_nightingaleCSS628.7 kB114397archived
nhsl-ubuntu-phpShell265.2 kB13113archived
nightingale-styleguide-250.9 kB1620archived
moodle-mod_journalPHP240.6 kB26940active
nhsl-wp-blocksPHP207.9 kB4829archived
xAPI-Recipe-EmitterPHP207.9 kB21870archived