← all organisations

nhsengland / Code

35 languages, 95.2 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

35
languages in use
95.2 MB of source
17.6k
files at HEAD
across every analysed repository
0 B
on disk as mirrors
full history, every branch and tag
323.1 MB
largest repository
swpc_synthea

What stands out

One archived repository holds 17% of all the bytes.

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

65% 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: 40.7 MB40.7 MBJupyter NotebookJupyter Notebook: 13.3 MB13.3 MBTypeScriptTypeScript: 8.6 MB8.6 MBPythonPython: 8.0 MB8.0 MBJavaScriptJavaScript: 5.6 MB5.6 MBTSQLTSQL: 5.1 MB5.1 MBC#C#: 2.9 MB2.9 MBRR: 2.9 MB2.9 MBPHPPHP: 2.0 MB2.0 MBC++C++: 1.9 MB1.9 MBCSSCSS: 1.4 MB1.4 MBJavaJava: 1.2 MB1.2 MBHCLHCL: 408.4 kB408.4 kBSCSSSCSS: 298.8 kB298.8 kB

By number of repositories

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

PythonPython: 8484HTMLHTML: 4242RR: 4040Jupyter NotebookJupyter Notebook: 3333CSSCSS: 3030ShellShell: 2424JavaScriptJavaScript: 2323TSQLTSQL: 1818SCSSSCSS: 1212MakefileMakefile: 99DockerfileDockerfile: 88RubyRuby: 77PHPPHP: 66PowerShellPowerShell: 66

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

PythonPython: 6161RR: 3333Jupyter NotebookJupyter Notebook: 2525HTMLHTML: 1717TSQLTSQL: 1212CSSCSS: 66JavaScriptJavaScript: 44SCSSSCSS: 44C#C#: 22TypeScriptTypeScript: 33

Archived repositories

PythonPython: 11RR: 00Jupyter NotebookJupyter Notebook: 00HTMLHTML: 00TSQLTSQL: 00CSSCSS: 00JavaScriptJavaScript: 00SCSSSCSS: 00C#C#: 11TypeScriptTypeScript: 00

Scale

Repository size distribution

Git data per repository, log-ish buckets.

7455.53718.50< 10 kB: 14< 10 kB< 100 kB: 58< 100 kB< 1 MB: 74< 1 MB< 10 MB: 46< 10 MB< 100 MB: 31< 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.

5.9k1k172.129.35.016.643.6288.11.9k.github: 11 commits, 5 files, 1 authorsAIF_Allocation_Populations: 9 commits, 54 files, 2 authorsAIF_Allocation_Tool: 189 commits, 12 files, 13 authorsAIF_Allocation_Tool_update: 187 commits, 13 files, 12 authorsActivity-Tables-: 12 commits, 11 files, 3 authorsAmbModelOpen: 43 commits, 204 files, 8 authorsCHC: 20 commits, 13 files, 3 authorsDFSC-ansible: 9 commits, 28 files, 2 authorsDSFC-Portal: 13 commits, 1,082 files, 3 authorsDS_Discussion_D_Tale: 8 commits, 5 files, 1 authorsDataScience-CaseStudies: 24 commits, 100 files, 6 authorsDataScience-ReusableCode: 25 commits, 63 files, 4 authorsDataScience-Signpost: 25 commits, 60 files, 4 authorsDementia: 90 commits, 19 files, 4 authorsDesigningAmbiguityAwareClericalReview: 6 commits, 9 files, 1 authorsDiabetes_git_testing: 42 commits, 6 files, 6 authorsDigdata: 15 commits, 4 files, 1 authorsDischarge_Ready_Date_Publication: 11 commits, 5 files, 3 authorsESA_Avoidable_ED_Attendances: 13 commits, 19 files, 2 authorsESA_ED_Crowding: 32 commits, 33 files, 4 authorsErrorProfiler: 28 commits, 13 files, 1 authorsGIRFT_FU_Reduction_SE: 16 commits, 30 files, 1 authorsGPPS-online-services: 5 commits, 14 files, 2 authorsGP_access: 5 commits, 11 files, 1 authorsGen_AI_Search_Evaluations: 18 commits, 13 files, 5 authorsHealth-RAP-Playbook-Alpha: 40 commits, 19 files, 3 authorsHealth_Inequalities_WLMDS: 21 commits, 14 files, 2 authorsICB_Allocation_Tool_update: 139 commits, 21 files, 7 authorsICB_Place_Based_Tool_2627-2829: 164 commits, 23 files, 7 authorsICTAzureAutomation: 8 commits, 3 files, 1 authorsIndependent_Provider_Licensing_Solution: 6 commits, 1,051 files, 3 authorsLDA-template-repo: 26 commits, 9 files, 1 authorsLD_regional_operation_report: 5 commits, 12 files, 2 authorsMHSDS: 414 commits, 137 files, 10 authorsMRAT_Code_Library: 6 commits, 2 files, 3 authorsMaternity-MOSS: 36 commits, 11 files, 4 authorsNCDR-reference-library: 664 commits, 181 files, 8 authorsNEY-Inequalities-Methodologies: 26 commits, 31 files, 1 authorsNHS-DPP-multiple-long-term-conditions-evaluation: 6 commits, 25 files, 1 authorsNHSE-Methods: 15 commits, 1 files, 1 authorsNHSE-Methods-10-Similar-CCGs: 9 commits, 4 files, 2 authorsNHSE-Methods-Euclidean-distance-estimation: 11 commits, 4 files, 1 authorsNHSE-Methods-Gradient-boosting-estimation: 10 commits, 4 files, 1 authorsNHSE_SW_Discharge_and_Flow_Dashboard: 23 commits, 22 files, 3 authorsNHSE_probabilistic_linkage: 8 commits, 41 files, 2 authorsNHSSynth: 642 commits, 143 files, 7 authorsNationalPAT_JAR_Reconciliation: 52 commits, 18 files, 4 authorsNational_FasterSUS: 18 commits, 11 files, 3 authorsNhsBuilder: 27 commits, 152 files, 3 authorsNhsLogicmodel: 7 commits, 40 files, 3 authorsNhsStyleBuilder: 55 commits, 155 files, 4 authorsOversight-Framework: 18 commits, 22 files, 2 authorsP43_LTHMedCat: 49 commits, 17 files, 5 authorsPATinDataBricks: 24 commits, 10 files, 3 authorsPDS_explosion: 8 commits, 6 files, 1 authorsPSS_Allocations: 10 commits, 21 files, 1 authorsPapiweb: 104 commits, 36 files, 17 authorsPhOD_pharmacy_reporting_simplified: 5 commits, 76 files, 1 authorsProcessMining: 19 commits, 36 files, 2 authorsQISA-CQC-dashboard-BAU: 68 commits, 7 files, 2 authorsQISA-FFT-data-BAU: 11 commits, 5 files, 2 authorsQISA-HCAI-dashboard-BAU: 21 commits, 12 files, 2 authorsQISA-MHS-FFT-data-BAU: 5 commits, 3 files, 1 authorsQISA-Regional-Quality-Oversight-Report-BAU: 38 commits, 4 files, 2 authorsRAP_example_pipeline_r: 57 commits, 21 files, 1 authorsRISE_Tool_V1: 26 commits, 304 files, 2 authorsRegion_Collab_Data_Viz_Library: 107 commits, 14 files, 16 authorsReusable-Code-Library: 220 commits, 21 files, 22 authorsRmarkdown-showcase: 10 commits, 19 files, 1 authorsSDE-data-dictionary: 84 commits, 64 files, 13 authorsSWRegionTemplate: 18 commits, 9 files, 2 authorsSW_ways_of_working: 41 commits, 9 files, 2 authorsSurvey_Responses_Labelling_and_Clustering: 8 commits, 11 files, 2 authorsSynPathToy: 52 commits, 20 files, 4 authorsSynPath_Decisions: 57 commits, 34 files, 7 authorsTalking-Therapies: 581 commits, 58 files, 8 authorsUnit_testing_workshop: 11 commits, 3 files, 5 authorsUrgent_Community_Response_Regional_Rpt: 8 commits, 12 files, 2 authorsWLMDS-Staging-Tables-: 13 commits, 12 files, 3 authorsambulance_response_times_and_handover_delays: 12 commits, 10 files, 2 authorsan-existing-project: 8 commits, 12 files, 3 authorsanalytical-data-style-guide-SW: 423 commits, 84 files, 21 authorsanalytical-data-style-guide-South_West: 11 commits, 75 files, 2 authorsanalyticsunit-template: 39 commits, 9 files, 9 authorsansible-letsencrypt: 77 commits, 11 files, 13 authorscancer_foundry_data_modelling: 43 commits, 57 files, 9 authorscausal-handbook: 42 commits, 153 files, 1 authorsckanext-adfs: 48 commits, 21 files, 10 authorsckanext-nhsengland: 322 commits, 142 files, 16 authorscml-conversion-helpers: 81 commits, 26 files, 3 authorscml-schemas: 59 commits, 12 files, 3 authorscml-validation: 8 commits, 9 files, 1 authorscode_your_own_pandas_pipeline: 46 commits, 23 files, 2 authorscommunity-waiting-list: 14 commits, 13 files, 2 authorscommunity_waits: 21 commits, 15 files, 1 authorscommunity_waits_eoe: 15 commits, 12 files, 1 authorscompetency-tracker: 23 commits, 16 files, 2 authorsdata-england-nhs-uk: 65 commits, 25 files, 5 authorsdata-files: 14 commits, 17 files, 3 authorsdata-hazards-mock-up: 28 commits, 36 files, 2 authorsdata-hazards-nhse: 449 commits, 46 files, 16 authorsdata-rules-code: 7 commits, 4 files, 1 authorsdata-viz-community-of-practice: 246 commits, 169 files, 20 authorsdatadirectory: 144 commits, 104 files, 4 authorsdatapusher: 224 commits, 46 files, 17 authorsdatascience: 1,140 commits, 335 files, 57 authorsdatascience-pd-newsletter: 423 commits, 110 files, 6 authorsdc: 18 commits, 5 files, 3 authorsdemo: 19 commits, 10 files, 3 authorsdemo_test: 13 commits, 9 files, 2 authorsdevices_rap: 295 commits, 104 files, 7 authorsdiagnostics-wl-queue-calculator: 5 commits, 7 files, 2 authorsdiagnostics_endoscopy_stocktake: 24 commits, 115 files, 4 authorsdosage_instructions: 5 commits, 48 files, 3 authorsds-mini-conf-fdp-sept-25: 703 commits, 13 files, 10 authorsds_251_RAG: 86 commits, 36 files, 6 authorsengineering-function-team-survey-analysis: 10 commits, 3 files, 1 authorseoe_activity_planning: 7 commits, 14 files, 2 authorsevalsense: 182 commits, 160 files, 4 authorsfdp-canonical-data-model: 11 commits, 4 files, 4 authorsfdp-design-guide: 398 commits, 60 files, 6 authorsfft_pipeline: 341 commits, 30 files, 4 authorsfile_ingestion: 27 commits, 91 files, 1 authorsfuturenhs: 2,721 commits, 1,903 files, 53 authorsfuturenhs-file-server: 26 commits, 102 files, 5 authorsfuturenhs-infra: 532 commits, 167 files, 17 authorsgavel: 9 commits, 44 files, 2 authorsgit-and-github-cicd-workshop: 82 commits, 55 files, 3 authorsgit-challenge: 108 commits, 2 files, 44 authorsgithub-WoW: 56 commits, 7 files, 4 authorshack-for-health-nov-2024-team-4: 22 commits, 18 files, 6 authorsics-metrics-ref: 21 commits, 64 files, 4 authorsiit-infrastructure: 331 commits, 65 files, 12 authorsinnovation-service-backend-api: 4,056 commits, 1,540 files, 44 authorsinnovation-service-informational-frontend: 256 commits, 186 files, 17 authorsinnovation-service-transactional-frontend: 5,921 commits, 957 files, 60 authorsit-standards: 177 commits, 83 files, 7 authorsllm-eval-monitor-framework: 85 commits, 42 files, 12 authorsllm_tutorial: 10 commits, 5 files, 2 authorslong_waits_clearup: 16 commits, 21 files, 2 authorslower-limb-metrics: 10 commits, 4 files, 3 authorsmaking-data-count: 43 commits, 14 files, 3 authorsmm-healthfair: 507 commits, 316 files, 9 authorsmodel-card: 44 commits, 3 files, 4 authorsmsds-monthly-to-cml: 183 commits, 30 files, 10 authorsmustard_tables: 20 commits, 7 files, 2 authorsnational-reusable-code-library: 33 commits, 71 files, 3 authorsncdr_udal_ecds_comparison: 6 commits, 8 files, 3 authorsnew_test_repo: 15 commits, 10 files, 2 authorsnhs-london-data-viz-library: 55 commits, 54 files, 3 authorsnhs-r-reporting: 264 commits, 498 files, 15 authorsnhs_herbot: 70 commits, 43 files, 16 authorsnhsd-git-secrets-precommit: 11 commits, 16 files, 1 authorsnhse-io-jekyll-template: 18 commits, 58 files, 3 authorsnhse-rap-cookiecutter: 203 commits, 107 files, 8 authorsnhse-repository-template: 6 commits, 9 files, 2 authorsnhstechguides: 12 commits, 90 files, 1 authorsnhsuk.moderation-api-public: 28 commits, 61 files, 2 authorsnhsuk.moderation-ml-public: 10 commits, 133 files, 2 authorsnlp_renal_biopsy: 12 commits, 62 files, 3 authorsofficer-simple: 23 commits, 12 files, 2 authorsons-api: 6 commits, 8 files, 2 authorsoops-its-a-pipeline: 16 commits, 51 files, 1 authorsoops-pipeline-example: 8 commits, 16 files, 1 authorsop_benchmarking: 13 commits, 31 files, 2 authorsop_planning: 6 commits, 2 files, 2 authorsopen-health-statistics: 1,718 commits, 59 files, 18 authorsopensource_maternity_dashboard_project: 97 commits, 19 files, 4 authorsos_ehrql_workshop: 6 commits, 15 files, 1 authorspackage-your-code-workshop: 61 commits, 48 files, 2 authorspapiwebpage: 104 commits, 36 files, 17 authorsphmi: 451 commits, 186 files, 7 authorsprevention-tobacco-processing: 29 commits, 5 files, 1 authorspriv-lm-health: 10 commits, 27 files, 3 authorspriv-lm-health-extended: 15 commits, 53 files, 3 authorsprivfp-experiments: 320 commits, 124 files, 15 authorsprivfp-poc: 19 commits, 54 files, 5 authorspublish-o-matic: 178 commits, 133 files, 8 authorspython-in-an-hour: 28 commits, 8 files, 5 authorsquality-assurance-framework-for-data-linkage: 66 commits, 28 files, 8 authorsquick_metric: 90 commits, 81 files, 4 authorsrap_intro_to_python: 158 commits, 58 files, 12 authorsreusable-code-audit: 11 commits, 187 files, 3 authorsscrape_nhs_conditions: 13 commits, 23 files, 2 authorsse-da-github-guide: 47 commits, 246 files, 3 authorsse-github-resources: 8 commits, 11 files, 1 authorsse-haca-ld: 5 commits, 5 files, 1 authorsse_plc_op_dash_userguide: 40 commits, 39 files, 2 authorssharing-platform-docs: 355 commits, 336 files, 16 authorssudgt_deployment: 27 commits, 20 files, 5 authorsswpc_synthea: 4,944 commits, 552 files, 134 authorssynthetic_clinical_notes: 41 commits, 41 files, 5 authorstheograph_generation: 10 commits, 5 files, 2 authorstopicmodel_pipeline_open: 17 commits, 53 files, 4 authorsvirtual-wards-draft-standards: 248 commits, 22 files, 6 authorswaiting_list_demographics_explorer: 12 commits, 12 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

docsdocs: 4848srcsrc: 3737teststests: 3636datadata: 1919.devcontainer.devcontainer: 1919notebooksnotebooks: 1313assetsassets: 1010scriptsscripts: 1010_includes_includes: 88_layouts_layouts: 88imagesimages: 88configconfig: 77overridesoverrides: 77.vscode.vscode: 77guidanceguidance: 66reportsreports: 66.streamlit.streamlit: 55RR: 55

Most common file extensions

By total file count across the estate.

.ts.ts: 2.3k2.3k.png.png: 1.7k1.7k.py.py: 1.5k1.5k.md.md: 1.4k1.4k.cs.cs: 1.2k1.2k.js.js: 1k1k.html.html: 757757.json.json: 728728.php.php: 461461.svg.svg: 409409.jpg.jpg: 384384.css.css: 380380.r.r: 327327.sql.sql: 314314.txt.txt: 311311.config.config: 311311

The twenty largest repositories

RepositoryLanguageGit size CommitsFilesStatus
swpc_syntheaJava323.1 MB4,944552active
AIF_Allocation_Tool_updatePython111.0 MB18713archived
data-hazards-nhse-109.3 MB44946active
AIF_Allocation_ToolPython100.7 MB18912active
datascienceHTML100.5 MB1,140335active
causal-handbookTeX91.2 MB42153active
opensource_maternity_dashboard_projectPython83.5 MB9719active
ProcessMiningJupyter Notebook74.3 MB1936active
datascience-pd-newsletter-59.6 MB423110active
mm-healthfairPython51.5 MB507316active
git-and-github-cicd-workshopPython41.6 MB8255active
analytical-data-style-guide-SWHTML40.4 MB42384active
futurenhsC#40.1 MB2,7211,903active
package-your-code-workshopPython39.7 MB6148active
data-viz-community-of-practiceHTML36.7 MB246169active
AmbModelOpenR29.9 MB43204active
ds_251_RAGJupyter Notebook29.4 MB8636active
nhs-r-reportingR29.4 MB264498active
NHSSynthJupyter Notebook27.7 MB642143active
NEY-Inequalities-MethodologiesHTML26.1 MB2631active