← all organisations

OrdnanceSurvey / Code

37 languages, 162.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

37
languages in use
162.2 MB of source
36.6k
files at HEAD
across every analysed repository
0 B
on disk as mirrors
full history, every branch and tag
373.1 MB
largest repository
WhirlyGlobe

What stands out

One archived repository holds 19% of all the bytes.

WhirlyGlobe is 373.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 (3% 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 3% 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.

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

QMLQML: 78.0 MB78.0 MBSchemeScheme: 21.3 MB21.3 MBJavaJava: 17.9 MB17.9 MBJupyter NotebookJupyter Notebook: 13.2 MB13.2 MBHTMLHTML: 5.5 MB5.5 MBJavaScriptJavaScript: 4.6 MB4.6 MBC++C++: 4.4 MB4.4 MBObjective-CObjective-C: 4.3 MB4.3 MBCC: 3.1 MB3.1 MBObjective-C++Objective-C++: 2.9 MB2.9 MBTypeScriptTypeScript: 1.9 MB1.9 MBSwiftSwift: 1.4 MB1.4 MBPythonPython: 1.1 MB1.1 MBSQLSQL: 764.8 kB764.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.

Objective-CObjective-C: 3535ShellShell: 3232QMLQML: 3131SchemeScheme: 3030HTMLHTML: 2929JavaScriptJavaScript: 2828RubyRuby: 2828JavaJava: 2626PythonPython: 2222CSSCSS: 1818SwiftSwift: 1818CC: 1111MakefileMakefile: 88C++C++: 77

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

QMLQML: 2626Objective-CObjective-C: 1111JavaJava: 1111JavaScriptJavaScript: 1111SwiftSwift: 1111PythonPython: 99ShellShell: 66DockerfileDockerfile: 66Jupyter NotebookJupyter Notebook: 33HTMLHTML: 55

Archived repositories

QMLQML: 11Objective-CObjective-C: 1111JavaJava: 99JavaScriptJavaScript: 55SwiftSwift: 11PythonPython: 11ShellShell: 33DockerfileDockerfile: 00Jupyter NotebookJupyter Notebook: 22HTMLHTML: 00

Scale

Repository size distribution

Git data per repository, log-ish buckets.

5944.229.514.80< 10 kB: 7< 10 kB< 100 kB: 28< 100 kB< 1 MB: 46< 1 MB< 10 MB: 59< 10 MB< 100 MB: 28< 100 MB100 MB +: 5100 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.

9.6k1.4k218.833.15.017.048.8341.22.4kAFEx_Accuracy: 13 commits, 13 files, 3 authorsAFEx_Polygonization: 13 commits, 26 files, 3 authorsAddressBase: 363 commits, 41 files, 9 authorsArgo: 256 commits, 96 files, 40 authorsAzure-For-Normal-People: 7 commits, 10 files, 4 authorsBond: 746 commits, 98 files, 68 authorsBoundary-Line-stylesheets: 134 commits, 124 files, 9 authorsDHCoreData: 39 commits, 130 files, 8 authorsDHFoundation: 103 commits, 144 files, 7 authorsDHNotificationStoreSwift: 17 commits, 15 files, 3 authorsGZIP: 24 commits, 20 files, 9 authorsGeoDataViz-Toolkit: 144 commits, 381 files, 7 authorsHDAugmentedReality: 56 commits, 43 files, 9 authorsInfectioNet_Paper: 5 commits, 1 files, 1 authorsLoader: 144 commits, 57 files, 10 authorsMask_RCNN-for-Caravans: 313 commits, 83 files, 58 authorsMeridian2-stylesheets: 10 commits, 107 files, 3 authorsNimble: 1,361 commits, 178 files, 114 authorsOHHTTPStubs: 1,019 commits, 251 files, 68 authorsOR4NN: 24 commits, 23 files, 1 authorsOS-British-National-Grids: 17 commits, 4 files, 2 authorsOS-Data-Hub-API-Demos: 496 commits, 49 files, 24 authorsOS-Droid-Buddy: 11 commits, 141 files, 2 authorsOS-Emergency-Services-Gazetteer: 19 commits, 7 files, 4 authorsOS-Maps-API: 32 commits, 363 files, 2 authorsOS-Maps-API-for-Enterprise-Demos: 24 commits, 22 files, 5 authorsOS-Master-Map-Topography: 80 commits, 344 files, 4 authorsOS-MasterMap-Greenspace-stylesheets: 15 commits, 27 files, 5 authorsOS-MasterMap-Highways-Network: 26 commits, 265 files, 2 authorsOS-MasterMap-Highways-Network-stylesheets: 31 commits, 572 files, 8 authorsOS-MasterMap-Integrated-Transport-Network-stylesheets: 10 commits, 108 files, 2 authorsOS-MasterMap-Water-Network-stylesheets: 59 commits, 524 files, 4 authorsOS-NGD-Stylesheets: 93 commits, 402 files, 2 authorsOS-Open-Built-Up-Areas-stylesheets: 118 commits, 17 files, 3 authorsOS-Open-Greenspace: 17 commits, 48 files, 1 authorsOS-Open-Greenspace-stylesheets: 112 commits, 65 files, 5 authorsOS-Open-Names: 19 commits, 21 files, 6 authorsOS-Open-Rivers-stylesheets: 155 commits, 528 files, 7 authorsOS-Open-Roads-stylesheets: 138 commits, 346 files, 7 authorsOS-Open-Zoomstack: 50 commits, 1,511 files, 1 authorsOS-Open-Zoomstack-Stylesheets: 132 commits, 1,661 files, 11 authorsOS-OpenMap-Local-stylesheets: 739 commits, 711 files, 9 authorsOS-PAW: 17 commits, 10 files, 6 authorsOS-Places: 20 commits, 51 files, 5 authorsOS-Terrain-5-stylesheets: 10 commits, 35 files, 3 authorsOS-Terrain-50: 18 commits, 59 files, 1 authorsOS-Terrain-50-stylesheets: 82 commits, 75 files, 6 authorsOS-VML-Translator: 9 commits, 68 files, 1 authorsOS-Vector-Tile-API-Stylesheets: 61 commits, 72 files, 4 authorsOS-VectorMap-District: 138 commits, 1,139 files, 2 authorsOS-VectorMap-District-stylesheets: 759 commits, 1,958 files, 9 authorsOS-VectorMap-Local: 204 commits, 2,055 files, 1 authorsOS-VectorMap-Local-stylesheets: 182 commits, 2,181 files, 8 authorsOS-VectorMap-Local-stylesheets-old-: 5 commits, 1,009 files, 2 authorsOSMM-Sites-stylesheets: 22 commits, 14 files, 2 authorsOSMM-Topography-Layer-stylesheets: 356 commits, 2,384 files, 16 authorsOS_ConcaveHull: 9 commits, 11 files, 1 authorsOS_Minkowski_Sum_Diff: 9 commits, 6 files, 1 authorsOpenJump_OSMM_GML_Mod: 41 commits, 15 files, 2 authorsPavement-Widths: 8 commits, 3 files, 1 authorsPropertyDemo: 10 commits, 41 files, 1 authorsRESideMenu: 414 commits, 110 files, 42 authorsRadig2: 18 commits, 24 files, 1 authorsSZTextView: 175 commits, 33 files, 24 authorsSimulatorStatusMagic: 73 commits, 35 files, 14 authorsStrategi-stylesheets: 23 commits, 151 files, 6 authorsSwiftyBeaver: 417 commits, 40 files, 44 authorsSwiftyJSONAccelerator: 94 commits, 45 files, 6 authorsTechnologyAndDesignArchitecure: 7 commits, 13 files, 2 authorsTurningDataToInformation: 12 commits, 132 files, 3 authorsWhirlyGlobe: 2,805 commits, 1,586 files, 20 authorsaddress-utils: 6 commits, 23 files, 2 authorsandroid-sdk-demo-google-maps-android-conversion: 20 commits, 27 files, 2 authorsandroid-sdk-demo-map-overlays: 11 commits, 30 files, 2 authorsandroid-sdk-demo-online-gazetteer-search: 9 commits, 35 files, 3 authorsandroid-sdk-mapping-demo: 27 commits, 29 files, 3 authorsangular-ui-switch: 32 commits, 12 files, 10 authorsapi_training: 8 commits, 17 files, 3 authorsappirater: 286 commits, 47 files, 91 authorsbng-transformations: 15 commits, 19 files, 4 authorscesium-terrain-server: 66 commits, 34 files, 3 authorscode-style-guide: 60 commits, 11 files, 9 authorscommunity-templates: 318 commits, 102 files, 81 authorsdatadog-agent: 53 commits, 7 files, 9 authorsdemo-mapbox-skyhook-location: 10 commits, 40 files, 2 authorsdiscoverability: 26 commits, 4 files, 1 authorsdocker-bench-security: 238 commits, 24 files, 30 authorsdocker-s3-sync: 6 commits, 5 files, 2 authorsdocker-uptime: 14 commits, 7 files, 2 authorselasticsearch: 29 commits, 9 files, 6 authorsequal-area-cartogram: 36 commits, 44 files, 3 authorsesri-wmts-mobile: 12 commits, 188 files, 3 authorsfoss4guk2022local: 9 commits, 4 files, 2 authorsgeowebcache: 2,462 commits, 785 files, 72 authorsgitsync: 12 commits, 11 files, 4 authorsgraphhopper: 7,413 commits, 1,324 files, 146 authorsgraphhopper-maps: 548 commits, 188 files, 19 authorsguava-preconditions: 9 commits, 21 files, 2 authorsios-sdk: 21 commits, 9 files, 3 authorsios-sdk-demo-locate-me: 67 commits, 18 files, 4 authorsios-sdk-demo-mapkit-conversion: 41 commits, 20 files, 4 authorsios-sdk-demo-overlay-finder: 35 commits, 19 files, 4 authorsios-sdk-demo-tilesources: 41 commits, 29 files, 4 authorsjmeter: 17 commits, 5 files, 7 authorsjmeter-base: 22 commits, 10 files, 6 authorsjmeter-driver: 31 commits, 6 files, 7 authorsjmeter-ec2: 232 commits, 12 files, 23 authorsjmeter-server: 15 commits, 5 files, 6 authorsjts: 1,590 commits, 1,219 files, 31 authorsleaflet-control-geocoder: 14 commits, 9 files, 1 authorslogrotate: 10 commits, 4 files, 6 authorslogspout: 182 commits, 40 files, 51 authorsmapbox-android-sdk: 2,152 commits, 1,585 files, 74 authorsmapbox-gl-native: 9,572 commits, 1,885 files, 138 authorsmapbox-ios-sdk: 2,224 commits, 350 files, 92 authorsmapbox-scenekit: 126 commits, 51 files, 14 authorsmapbox-vector-tile-java: 268 commits, 47 files, 10 authorsmiq-ios-testingframeworks: 66 commits, 42 files, 10 authorsopenlayers: 7,165 commits, 1,194 files, 92 authorsopenspace-android-sdk: 42 commits, 98 files, 9 authorsopenspace-ios-sdk: 96 commits, 6 files, 5 authorsopenspace-migration: 21 commits, 22 files, 1 authorsopenspace-sdk-resources: 11 commits, 3 files, 3 authorsos-api-branding: 27 commits, 13 files, 1 authorsos-arcgis-runtime-adapter-ios: 54 commits, 37 files, 3 authorsos-data-hub-api-tutorials: 329 commits, 6 files, 4 authorsos-data-hub-tutorials: 195 commits, 236 files, 7 authorsos-map-and-hack-virtual-hackathon: 8 commits, 7 files, 2 authorsos-mapbox-adapter: 14 commits, 29 files, 1 authorsos-mapfinder-android-support: 6 commits, 4 files, 2 authorsos-maply-adapter-ios: 69 commits, 48 files, 4 authorsos-mapproducts-ios: 6 commits, 150 files, 2 authorsos-powerbi-map: 64 commits, 101 files, 4 authorsos-search: 197 commits, 18 files, 10 authorsos-simples: 7 commits, 37 files, 2 authorsos-transform: 12 commits, 10 files, 1 authorsosbng-grids: 29 commits, 21 files, 1 authorsosbng-py: 778 commits, 60 files, 8 authorsosbng-r: 165 commits, 220 files, 2 authorsosdatahub: 538 commits, 118 files, 34 authorsosdatahub-js: 604 commits, 73 files, 16 authorsosjson-ios: 39 commits, 16 files, 6 authorsoslocationservices-ios: 204 commits, 92 files, 15 authorsosngd-resources: 198 commits, 826 files, 6 authorsostransformation-ios: 105 commits, 42 files, 15 authorspostmanGeoJSON: 11 commits, 2 files, 3 authorsproj-4: 6 commits, 250 files, 1 authorsproj.4: 1,187 commits, 321 files, 27 authorspuppet-fme: 94 commits, 53 files, 5 authorspuppet-go_publisher_workflow: 11 commits, 25 files, 3 authorspuppet-rhnreg_ks: 28 commits, 14 files, 6 authorsrecline-view-osmap: 12 commits, 30 files, 1 authorsroute_master: 7 commits, 33 files, 1 authorsrouting-swift: 103 commits, 54 files, 3 authorssearch-jvm: 61 commits, 165 files, 6 authorssearch-swift: 143 commits, 60 files, 4 authorssockjs-client: 1,021 commits, 101 files, 57 authorsunplugged-updater: 8 commits, 38 files, 4 authorsvt-open-zoomstack-android: 9 commits, 36 files, 3 authorsvt-support: 73 commits, 222 files, 3 authorsweb-elements: 662 commits, 113 files, 17 authorsweb-elements-starter: 6 commits, 13 files, 2 authorsweb-optimisation-training: 260 commits, 26 files, 5 authorswhalebrew-mbutil: 10 commits, 5 files, 5 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: 1818docsdocs: 1313GML stylesheetsGML stylesheets: 1212ESRI Shapefile stylesheetsESRI Shapefile stylesheets: 1111Sample CodeSample Code: 99gradlegradle: 99imagesimages: 88Data TranslatingData Translating: 88SQLSQL: 88SchemaSchema: 88StylingStyling: 88teststests: 88examplesexamples: 77liblib: 66CarthageCarthage: 44imgimg: 44ExamplesExamples: 44Geopackage stylesheets (post April 2023)Geopackage stylesheets (post April 2023): 44

Most common file extensions

By total file count across the estate.

.svg.svg: 9.4k9.4k.pbf.pbf: 4.9k4.9k.java.java: 3.2k3.2k.html.html: 2k2k.png.png: 1.9k1.9k.qml.qml: 1.5k1.5k.sld.sld: 1.4k1.4k.h.h: 1.3k1.3k.md.md: 973973.js.js: 669669.c.c: 657657.sql.sql: 573573.xml.xml: 556556.m.m: 529529.json.json: 507507.csv.csv: 454454

The twenty largest repositories

RepositoryLanguageGit size CommitsFilesStatus
WhirlyGlobeHTML373.1 MB2,8051,586active
Mask_RCNN-for-CaravansPython149.3 MB31383active
mapbox-android-sdkJava144.3 MB2,1521,585active
os-mapfinder-android-support-140.1 MB64archived
mapbox-ios-sdkObjective-C137.0 MB2,224350active
graphhopperJava91.8 MB7,4131,324active
mapbox-gl-nativeC++82.8 MB9,5721,885archived
os-data-hub-tutorialsJupyter Notebook65.7 MB195236archived
mapbox-scenekitSwift49.8 MB12651active
GeoDataViz-Toolkit-40.6 MB144381active
OS-VectorMap-District-stylesheetsQML38.7 MB7591,958active
TurningDataToInformationHTML29.5 MB12132active
jtsJava29.1 MB1,5901,219active
osbng-pyPython25.8 MB77860active
OS-VML-TranslatorTeX25.5 MB968active
OS-OpenMap-Local-stylesheetsQML24.5 MB739711active
ostransformation-iosObjective-C19.9 MB10542active
OSMM-Topography-Layer-stylesheetsQML19.1 MB3562,384active
bng-transformations-18.7 MB1519archived
OS-Master-Map-TopographyQML18.3 MB80344active