RobotLocomotion/drake

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.

As of 2026-11-11 (commit 4a36cbfae146), RobotLocomotion/drake contains 766,730 total lines: 503,487 code, 191,459 comments, 71,784 blank, across 3,339 files in 22 languages (top language: C++ 42.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-11 (commit 4a36cbfae146), RobotLocomotion/drake contains 766,730 total lines: 503,487 code, 191,459 comments, 71,784 blank, across 3,339 files in 22 languages (top language: C++ 42.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
C++12042849532157873836030806
C Header128036987620034614005329477
Bazel494623315420929255197
Python163277532176325423448
SVG95202519066
Jupyter Notebooks286394315920481187
CMake7122710687683
Autoconf306184358796
Shell19751431179141
BASH861337115290
JSON2237216021
ReStructuredText1178135043

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

Counting rules and retention

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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does RobotLocomotion/drake have?

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.

How was the RobotLocomotion/drake line count measured?

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.

What commit was counted for RobotLocomotion/drake?

This OctoCounts report was generated from master at commit 4a36cbfae146 on November 11, 2026.

Similar repository reports

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

Play the growth animation for RobotLocomotion/drake on this page — 503,487 code lines across 22 languages, counted by tokei.