facebook/rocksdb SLOC report

As of 2026-08-02 (commit b7b6d7c8c06b), facebook/rocksdb contains 1,014,341 total lines: 719,993 code, 169,495 comments, 124,853 blank, across 2,149 files in 26 languages (top: C++ 69.6%). Counted with tokei via OctoCounts.

As of 2026-08-02 (commit b7b6d7c8c06b), facebook/rocksdb contains 1,014,341 total lines: 719,993 code, 169,495 comments, 124,853 blank, across 2,149 files in 26 languages (top: C++ 69.6%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving facebook/rocksdb to commit b7b6d7c8c06b, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

Repository size insights

This is a large codebase by counted code lines. Code represents 71.0% of all lines, comments represent 16.7%, and the repository averages 335 code lines per file. C++ accounts for 69.6% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++7526509715009047301977048
C Header6252020551183815689826776
Java3307350943395219028212
Python61205161625719742285
JSON7101681016800
Bitbake28101588111432004
C370835847269967
Shell46653446131098823
Makefile847683596458714
CMake1630702709149212
Sass162087173078279
BASH41261901230130

Top language (C++ 69.6%). Generated at 2026-08-02T11:12:02.838245730+00:00.

Report FAQ

How many lines of code does facebook/rocksdb have?

facebook/rocksdb has 1,014,341 total lines, including 719,993 code lines, 169,495 comment lines, and 124,853 blank lines.

How was the facebook/rocksdb line count measured?

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

What commit was counted for facebook/rocksdb?

This OctoCounts report was generated from main at commit b7b6d7c8c06b on 2026-08-02T11:12:02.838245730+00:00.

Similar repository reports

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