realsenseai/librealsense has 564,223 source lines of code out of 787,620 total lines across 3,345 files, counted with tokei from the master ref at commit 50d06ec64d2c on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-15 (commit 50d06ec64d2c), realsenseai/librealsense contains 787,620 total lines: 564,223 code, 116,218 comments, 107,179 blank, across 3,345 files in 39 languages (top language: C++ 36.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving realsenseai/librealsense to commit 50d06ec64d2c, 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 71.6% of all lines, comments represent 14.8%, and the repository averages 169 code lines per file. C++ accounts for 36.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 691 | 264795 | 205335 | 22948 | 36512 |
| C Header | 1075 | 238961 | 155743 | 49431 | 33787 |
| C | 89 | 111037 | 80153 | 17824 | 13060 |
| Python | 430 | 61801 | 46207 | 5801 | 9793 |
| C++ Header | 107 | 30442 | 21594 | 5814 | 3034 |
| JSON | 34 | 10428 | 10423 | 0 | 5 |
| C# | 178 | 14219 | 10019 | 1968 | 2232 |
| Java | 111 | 9052 | 7478 | 205 | 1369 |
| CMake | 202 | 8048 | 5856 | 910 | 1282 |
| Objective-C | 58 | 6101 | 4995 | 333 | 773 |
| TSX | 29 | 4533 | 3867 | 294 | 372 |
| Shell | 35 | 4512 | 3074 | 797 | 641 |
Top language: C++ 36.4%. Generated on .
realsenseai/librealsense: 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.
realsenseai/librealsense has 564,223 lines of code, plus 116,218 comment lines and 107,179 blank lines, for 787,620 total lines at commit 50d06ec64d2c on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 50d06ec64d2c, 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 50d06ec64d2c on November 15, 2026.
Play the growth animation for realsenseai/librealsense on this page — 564,223 code lines across 39 languages, counted by tokei.