RobotLocomotion/drake has 503,487 source lines of code out of 766,730 total lines across 3,339 files, counted with tokei from the master ref at commit 4a36cbfae146 on November 11, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
RobotLocomotion/drake: 503,487 code lines at commit 4a36cbfae146, counted with tokei-15.0.0 on 2026-11-11. Saved result 7439824ea58cd1d5480b07de89c08c96c5bdb095f95f38ce4971f143f454e5ba.
OctoCounts produced this report by resolving RobotLocomotion/drake to commit 4a36cbfae146, 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.
This is a large codebase by counted code lines. Code represents 65.7% of all lines, comments represent 25.0%, and the repository averages 151 code lines per file. C++ accounts for 42.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 1204 | 284953 | 215787 | 38360 | 30806 |
| C Header | 1280 | 369876 | 200346 | 140053 | 29477 |
| Bazel | 494 | 62331 | 54209 | 2925 | 5197 |
| Python | 163 | 27753 | 21763 | 2542 | 3448 |
| SVG | 9 | 5202 | 5190 | 6 | 6 |
| Jupyter Notebooks | 28 | 6394 | 3159 | 2048 | 1187 |
| CMake | 7 | 1227 | 1068 | 76 | 83 |
| Autoconf | 30 | 618 | 435 | 87 | 96 |
| Shell | 19 | 751 | 431 | 179 | 141 |
| BASH | 8 | 613 | 371 | 152 | 90 |
| JSON | 2 | 237 | 216 | 0 | 21 |
| ReStructuredText | 1 | 178 | 135 | 0 | 43 |
| YAML | 2 | 150 | 118 | 24 | 8 |
| C | 1 | 89 | 78 | 4 | 7 |
| Dockerfile | 2 | 108 | 71 | 16 | 21 |
| TOML | 1 | 44 | 27 | 13 | 4 |
| XML | 2 | 28 | 27 | 0 | 1 |
| Forge Config | 4 | 65 | 20 | 33 | 12 |
| HTML | 1 | 26 | 20 | 1 | 5 |
| Pan | 1 | 24 | 16 | 2 | 6 |
| Markdown | 63 | 4105 | 0 | 3175 | 930 |
| Plain Text | 17 | 1958 | 0 | 1763 | 195 |
Top language: C++ 42.9%. Generated on .
RobotLocomotion/drake: 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.
RobotLocomotion/drake has 503,487 lines of code, plus 191,459 comment lines and 71,784 blank lines, for 766,730 total lines at commit 4a36cbfae146 on November 11, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 4a36cbfae146, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from master at commit 4a36cbfae146 on November 11, 2026.
Play the growth animation for RobotLocomotion/drake on this page — 503,487 code lines across 22 languages, counted by tokei.