← all organisations

nwisbeta / Code

14 languages, 27.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

14
languages in use
27.6 MB of source
3.6k
files at HEAD
across every analysed repository
0 B
on disk as mirrors
full history, every branch and tag
275.0 MB
largest repository
nhswales-frontend

What stands out

One archived repository holds 37% of all the bytes.

nhswales-frontend is 275.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.

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

TSQLTSQL: 13.0 MB13.0 MBC#C#: 12.0 MB12.0 MBTypeScriptTypeScript: 1.2 MB1.2 MBSCSSSCSS: 353.7 kB353.7 kBHTMLHTML: 300.5 kB300.5 kBJavaScriptJavaScript: 277.8 kB277.8 kBNunjucksNunjucks: 274.1 kB274.1 kBCSSCSS: 152.6 kB152.6 kBLiquidLiquid: 19.0 kB19.0 kBShellShell: 12.3 kB12.3 kBBatchfileBatchfile: 4.0 kB4.0 kBPowerShellPowerShell: 3.7 kB3.7 kBDockerfileDockerfile: 1.6 kB1.6 kBASP.NETASP.NET: 105 B105 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: 1010HTMLHTML: 77ShellShell: 55DockerfileDockerfile: 44CSSCSS: 44SCSSSCSS: 33TypeScriptTypeScript: 22C#C#: 22LiquidLiquid: 11BatchfileBatchfile: 11PowerShellPowerShell: 11NunjucksNunjucks: 11TSQLTSQL: 11ASP.NETASP.NET: 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: 00HTMLHTML: 00TypeScriptTypeScript: 00TSQLTSQL: 00CSSCSS: 00C#C#: 00NunjucksNunjucks: 00

Archived repositories

JavaScriptJavaScript: 44HTMLHTML: 33TypeScriptTypeScript: 22TSQLTSQL: 11CSSCSS: 11C#C#: 11NunjucksNunjucks: 11

Scale

Repository size distribution

Git data per repository, log-ish buckets.

32.21.50.80< 10 kB: 0< 10 kB< 100 kB: 3< 100 kB< 1 MB: 2< 1 MB< 10 MB: 3< 10 MB< 100 MB: 3< 100 MB100 MB +: 3100 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.

2.9k597.5121.324.65.018.047.2123.9325.1853.0NHSWales-fhir-profiles: 68 commits, 138 files, 4 authorsPyro: 815 commits, 828 files, 11 authorsapi-catalogue: 235 commits, 83 files, 13 authorsapi-management-developer-portal: 989 commits, 853 files, 52 authorsapi-user-guide-publisher: 25 commits, 53 files, 6 authorsdemoclientdiagnosticreports: 15 commits, 125 files, 4 authorsnhswales-frontend: 2,943 commits, 753 files, 69 authorsnhswales-prototype-kit: 444 commits, 152 files, 20 authorsnwisbeta.github.io: 415 commits, 129 files, 10 authorsopen-architecture: 5 commits, 19 files, 3 authorsvalidate-yaml-schema: 65 commits, 18 files, 10 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: 44.vscode.vscode: 44_data_data: 44_layouts_layouts: 44srcsrc: 33jsjs: 33_includes_includes: 33teststests: 22imagesimages: 22_docs_docs: 22csscss: 22fontsfonts: 22licenseslicenses: 22assetsassets: 22appapp: 22liblib: 22R4R4: 11work-in-progresswork-in-progress: 11

Most common file extensions

By total file count across the estate.

.cs.cs: 734734.png.png: 630630.ts.ts: 516516.html.html: 254254.md.md: 192192.svg.svg: 176176.njk.njk: 168168.scss.scss: 165165.xml.xml: 161161.js.js: 114114.yml.yml: 7676.json.json: 4444.config.config: 3939.dll.dll: 3636.zip.zip: 2929.css.css: 2323

The twenty largest repositories

RepositoryLanguageGit size CommitsFilesStatus
nhswales-frontendNunjucks275.0 MB2,943753archived
nwisbeta.github.ioHTML185.4 MB415129archived
mobile-app-designHTML166.5 MB4442archived
PyroTSQL71.9 MB815828archived
nhswales-prototype-kitJavaScript15.0 MB444152archived
democlientdiagnosticreportsC#12.5 MB15125archived
api-management-developer-portalTypeScript8.1 MB989853archived
validate-yaml-schemaTypeScript7.5 MB6518archived
api-user-guide-publisherCSS1.2 MB2553archived
api-catalogueJavaScript511.0 kB23583archived
NHSWales-fhir-profiles-227.3 kB68138archived
nhswales-developer-portalHTML90.1 kB321archived
open-architectureJavaScript55.3 kB519archived
dhew-mocksJavaScript12.3 kB37archived