google/or-tools

google/or-tools has 896,025 source lines of code out of 1,324,396 total lines across 3,923 files, counted with tokei from the main ref at commit 4782dbd0aa85 on November 20, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

As of 2026-11-20 (commit 4782dbd0aa85), google/or-tools contains 1,324,396 total lines: 896,025 code, 290,847 comments, 137,524 blank, across 3,923 files in 27 languages (top language: C++ 64.7%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

As of 2026-11-20 (commit 4782dbd0aa85), google/or-tools contains 1,324,396 total lines: 896,025 code, 290,847 comments, 137,524 blank, across 3,923 files in 27 languages (top language: C++ 64.7%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving google/or-tools to commit 4782dbd0aa85, 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 67.7% of all lines, comments represent 22.0%, and the repository averages 228 code lines per file. C++ accounts for 64.7% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++12897302215799507972870543
C Header6981992661076546204129571
Python41794512687161359612200
Bazel142375143289719472670
Java2634613929310109395890
Julia7324636220653422229
C#2373709021239113114540
CMake13512582895625471079
Makefile1662824629960693
Go2958324290843699
Autoconf3713535358773052643
Protocol Buffers6013335357879261831

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

Counting rules and retention

google/or-tools: 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 google/or-tools have?

google/or-tools has 896,025 lines of code, plus 290,847 comment lines and 137,524 blank lines, for 1,324,396 total lines at commit 4782dbd0aa85 on November 20, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the google/or-tools line count measured?

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

What commit was counted for google/or-tools?

This OctoCounts report was generated from main at commit 4782dbd0aa85 on November 20, 2026.

Play the growth animation for google/or-tools on this page — 896,025 code lines across 27 languages, counted by tokei.