OSGeo/gdal

OSGeo/gdal has 2,173,887 source lines of code out of 2,990,279 total lines across 5,296 files, counted with tokei from the master ref at commit ccd38119ca19 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OSGeo/gdal: 2,173,887 code lines at commit ccd38119ca19, counted with tokei-15.0.0 on 2026-11-14. Saved result 12e9e674bc63902422f8193eb9313f40a1a35c384aea111cc744b28abc90b268.

OctoCounts produced this report by resolving OSGeo/gdal to commit ccd38119ca19, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options; an exact reproduction needs the same commit, engine version, and effective counting rules.

Repository size insights

This is a very large codebase by counted code lines. Code represents 72.7% of all lines, comments represent 14.6%, and the repository averages 410 code lines per file. C++ accounts for 56.6% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++162116476841230297233782183605
Python79954522239736539351108506
C Header11142721861743785688040928
C3632378531667544829622803
XML37196804950846131107
SWIG53418173399626715150
CMake341224041786520952444
C++ Header22200221663215491841
JSON1981411414036078
Java32195446139109712434
Shell7469855659424902
C#2946923061924707
Gml7029312906025
Bitbake11223121333563
Dockerfile516431376125142
Happy2153113400191
Autoconf162283934823526
QML574774700
D1568553213
HTML10647548297
Perl14373861833
SVG339038334
INI453336112844
ReStructuredText64162850131
Forge Config11161161660340
XSL3161138716
SQL710392110
F*515283366
Makefile78060020
MSBuild4555500
TOML1605505
Lex1111001
Batch111722
PowerShell111722
Module-Definition11100
Markdown19245250198774648
Plain Text94202640175922672

Top language: C++ 56.6%. Generated on .

Counting rules and retention

OSGeo/gdal: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does OSGeo/gdal have?

OSGeo/gdal has 2,173,887 lines of code, plus 436,846 comment lines and 379,546 blank lines, for 2,990,279 total lines at commit ccd38119ca19 on November 14, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the OSGeo/gdal line count measured?

OctoCounts resolved the public GitHub repository to commit ccd38119ca19, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for OSGeo/gdal?

This OctoCounts report was generated from master at commit ccd38119ca19 on November 14, 2026.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity:

Play the growth animation for OSGeo/gdal on this page — 2,173,887 code lines across 37 languages, counted by tokei.