# facebookresearch/faiss SLOC report

> facebookresearch/faiss: 190,787 code lines at commit 84cc7eeba897, counted with tokei-15.0.0 on 2026-11-16. Saved result e29f268f1bbdebf10819b7441c47931b5d6b26b1c3f2f11da5f33539d1920a29.

facebookresearch/faiss has 190,787 source lines of code out of 256,069 total lines across 911 files, counted with tokei from the main ref at commit 84cc7eeba897 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving facebookresearch/faiss to commit 84cc7eeba897, 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

facebookresearch/faiss: 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 74.5% of all lines, comments represent 12.5%, and the repository averages 209 code lines per file. C++ accounts for 40.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 278 | 97,865 | 77,434 | 8,349 | 12,082 |
| C Header | 334 | 69,155 | 43,795 | 14,931 | 10,429 |
| Python | 143 | 44,879 | 36,868 | 2,230 | 5,781 |
| CUDA | 71 | 19,899 | 15,093 | 2,088 | 2,718 |
| JSON | 2 | 5,359 | 5,359 | 0 | 0 |
| Objective-C++ | 14 | 6,073 | 5,316 | 243 | 514 |
| CMake | 17 | 2,987 | 2,321 | 394 | 272 |
| Metal Shading Language | 1 | 2,596 | 2,194 | 180 | 222 |
| BASH | 2 | 866 | 623 | 73 | 170 |
| YAML | 5 | 591 | 550 | 19 | 22 |
| TOML | 3 | 491 | 331 | 113 | 47 |
| Jupyter Notebooks | 2 | 390 | 328 | 41 | 21 |
| C | 3 | 361 | 285 | 31 | 45 |
| Shell | 14 | 425 | 244 | 111 | 70 |
| Batch | 2 | 56 | 36 | 11 | 9 |
| Dockerfile | 1 | 10 | 9 | 0 | 1 |
| Autoconf | 1 | 7 | 1 | 5 | 1 |
| Markdown | 18 | 4,059 | 0 | 3,286 | 773 |

Top language: C++ 40.6%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/facebookresearch/faiss/commit/84cc7eeba8971f2f0f929ed04190ab3a9d80ff75?reportId=e29f268f1bbdebf10819b7441c47931b5d6b26b1c3f2f11da5f33539d1920a29&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

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

## Report FAQ

### How many lines of code does facebookresearch/faiss have?

facebookresearch/faiss has 190,787 lines of code, plus 32,105 comment lines and 33,177 blank lines, for 256,069 total lines at commit 84cc7eeba897 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the facebookresearch/faiss line count measured?

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

### What commit was counted for facebookresearch/faiss?

This OctoCounts report was generated from main at commit 84cc7eeba897 on November 16, 2026.

## Similar repository reports

- [SaschaWillems/Vulkan](https://octocounts.com/github/SaschaWillems/Vulkan) — C++, 189,073 code lines
- [Mogara/QSanguosha](https://octocounts.com/github/Mogara/QSanguosha) — C++, 193,901 code lines
- [KytyPS5/KytyPS5](https://octocounts.com/github/KytyPS5/KytyPS5) — C++, 187,627 code lines
- [KhronosGroup/Vulkan-Samples](https://octocounts.com/github/KhronosGroup/Vulkan-Samples) — C++, 187,075 code lines
- [community-shaders/skyrim-community-shaders](https://octocounts.com/github/community-shaders/skyrim-community-shaders) — C++, 195,130 code lines
- [tsdgeos/poppler_mirror](https://octocounts.com/github/tsdgeos/poppler_mirror) — C++, 196,140 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)
