# realsenseai/librealsense SLOC report

> 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.

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.

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.

## Counting rules and retention

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.

## Repository size insights

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 | 264,795 | 205,335 | 22,948 | 36,512 |
| C Header | 1,075 | 238,961 | 155,743 | 49,431 | 33,787 |
| C | 89 | 111,037 | 80,153 | 17,824 | 13,060 |
| Python | 430 | 61,801 | 46,207 | 5,801 | 9,793 |
| C++ Header | 107 | 30,442 | 21,594 | 5,814 | 3,034 |
| JSON | 34 | 10,428 | 10,423 | 0 | 5 |
| C# | 178 | 14,219 | 10,019 | 1,968 | 2,232 |
| Java | 111 | 9,052 | 7,478 | 205 | 1,369 |
| CMake | 202 | 8,048 | 5,856 | 910 | 1,282 |
| Objective-C | 58 | 6,101 | 4,995 | 333 | 773 |
| TSX | 29 | 4,533 | 3,867 | 294 | 372 |
| Shell | 35 | 4,512 | 3,074 | 797 | 641 |

Top language: C++ 36.4%. Generated on November 15, 2026. Canonical report: https://octocounts.com/github/realsenseai/librealsense

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/realsenseai/librealsense/commit/50d06ec64d2c9b3d857ba0a1cb9cd04a38ef2160?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=f9e1efff353332753a0505b7af7e964aa32eaa697b00a895ed89926b679c2c74).

## Report FAQ

### How many lines of code does realsenseai/librealsense have?

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.

### How was the realsenseai/librealsense line count measured?

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.

### What commit was counted for realsenseai/librealsense?

This OctoCounts report was generated from master at commit 50d06ec64d2c on November 15, 2026.

## Similar repository reports

- [google-ai-edge/LiteRT-LM](https://octocounts.com/github/google-ai-edge/LiteRT-LM) — C++, 576,150 code lines
- [tdlib/td](https://octocounts.com/github/tdlib/td) — C++, 578,070 code lines
- [Virtastic/openmw-web](https://octocounts.com/github/Virtastic/openmw-web) — C++, 545,797 code lines
- [houmo-ai/llama.cpp](https://octocounts.com/github/houmo-ai/llama.cpp) — C++, 587,728 code lines
- [RPCS3/rpcs3](https://octocounts.com/github/RPCS3/rpcs3) — C++, 538,484 code lines
- [ggml-org/whisper.cpp](https://octocounts.com/github/ggml-org/whisper.cpp) — C++, 591,996 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
