← all organisations

NHS-digital-website / Code

24 languages, 34.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

24
languages in use
34.6 MB of source
8.7k
files at HEAD
across every analysed repository
0 B
on disk as mirrors
full history, every branch and tag
87.7 MB
largest repository
hippo-RapiDoc

What stands out

One archived repository holds 41% of all the bytes.

hippo-RapiDoc is 87.7 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.

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

Jupyter NotebookJupyter Notebook: 20.4 MB20.4 MBJavaJava: 4.5 MB4.5 MBFreeMarkerFreeMarker: 4.0 MB4.0 MBJavaScriptJavaScript: 2.7 MB2.7 MBSCSSSCSS: 1.2 MB1.2 MBCSSCSS: 461.8 kB461.8 kBHTMLHTML: 423.5 kB423.5 kBGroovyGroovy: 336.6 kB336.6 kBGherkinGherkin: 158.8 kB158.8 kBNunjucksNunjucks: 151.8 kB151.8 kBTypeScriptTypeScript: 56.3 kB56.3 kBPythonPython: 53.5 kB53.5 kBShellShell: 46.2 kB46.2 kBMakefileMakefile: 42.1 kB42.1 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: 1313HTMLHTML: 1111MakefileMakefile: 99ShellShell: 88JavaJava: 77CSSCSS: 77PythonPython: 77FreeMarkerFreeMarker: 66DockerfileDockerfile: 55SCSSSCSS: 33RubyRuby: 22VueVue: 22GroovyGroovy: 22GherkinGherkin: 22

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: 55JavaJava: 44FreeMarkerFreeMarker: 22HTMLHTML: 22PythonPython: 22HCLHCL: 11Jupyter NotebookJupyter Notebook: 11ShellShell: 11ScalaScala: 11VueVue: 11

Archived repositories

JavaScriptJavaScript: 00JavaJava: 00FreeMarkerFreeMarker: 00HTMLHTML: 00PythonPython: 00HCLHCL: 00Jupyter NotebookJupyter Notebook: 00ShellShell: 00ScalaScala: 00VueVue: 00

Scale

Repository size distribution

Git data per repository, log-ish buckets.

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

8.7k1.3k208.532.35.0318.5114.4706.14.4kDD4C-Redirect: 19 commits, 11 files, 2 authorsbloomreach-login-project: 13 commits, 372 files, 3 authorsbloomreach-search-project: 22 commits, 307 files, 1 authorsbuild: 31 commits, 129 files, 4 authorsdeploy: 61 commits, 104 files, 7 authorsdesign-system: 680 commits, 413 files, 19 authorsdeveloper-nhs-uk: 34 commits, 51 files, 2 authorsgoss-hippo-migrator: 112 commits, 117 files, 4 authorshippo: 8,696 commits, 4,360 files, 146 authorshippo-RapiDoc: 1,519 commits, 416 files, 109 authorshippo-codebuild-test: 50 commits, 1,913 files, 2 authorsindicators-hippo-migrator: 75 commits, 80 files, 10 authorsjs-exporter: 5 commits, 16 files, 2 authorsjubilant-doodle: 6 commits, 5 files, 2 authorsnhsd-dataviz: 79 commits, 36 files, 4 authorsnhsd-digiblock-generator: 19 commits, 33 files, 3 authorsnhsd-ui-kit: 769 commits, 251 files, 86 authorspatterns: 7 commits, 3 files, 1 authorswatchdog: 132 commits, 53 files, 11 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

srcsrc: 1515docsdocs: 55.git-local.git-local: 55repository-datarepository-data: 44essentialsessentials: 44sitesite: 44confconf: 44cmscms: 44binbin: 33cms-dependenciescms-dependencies: 22db-bootstrapdb-bootstrap: 22ansibleansible: 22dockerdocker: 22gulpfile.jsgulpfile.js: 22distdist: 22imagesimages: 22acceptance-testsacceptance-tests: 22styleguidestyleguide: 22

Most common file extensions

By total file count across the estate.

.yaml.yaml: 1.8k1.8k.java.java: 1.6k1.6k.ftl.ftl: 950950.scss.scss: 538538.js.js: 512512.png.png: 467467.xml.xml: 266266.svg.svg: 247247.jpg.jpg: 218218.bin.bin: 184184.html.html: 166166.json.json: 120120.yml.yml: 116116.groovy.groovy: 114114.njk.njk: 106106.md.md: 7373

The twenty largest repositories

RepositoryLanguageGit size CommitsFilesStatus
hippo-RapiDocJavaScript87.7 MB1,519416active
hippoFreeMarker79.6 MB8,6964,360active
hippo-codebuild-testJava12.2 MB501,913active
goss-hippo-migratorJava11.5 MB112117active
analysing_exportJupyter Notebook6.9 MB25active
design-systemJavaScript4.5 MB680413active
nhsd-ui-kitCSS2.6 MB769251active
bloomreach-login-projectJavaScript2.5 MB13372active
indicators-hippo-migratorJava1.2 MB7580active
bloomreach-search-projectFreeMarker1.1 MB22307active
nhsd-datavizTypeScript709.6 kB7936active
nhsd-digiblock-generatorJavaScript677.9 kB1933active
watchdogJava308.2 kB13253active
js-exporterJavaScript292.9 kB516active
developer-nhs-ukHTML230.4 kB3451active
deployScala97.3 kB61104active
buildShell87.0 kB31129active
fallbackVue51.2 kB221active
peek.nhsd.ioHTML42.0 kB210active
DD4C-RedirectHCL18.4 kB1911active