# OpenKinect/libfreenect2 SLOC report

> OpenKinect/libfreenect2: 28,476 code lines at commit fd64c5d9b214, counted with tokei-15.0.0 on 2026-11-02. Saved result d81a424d11135e96240f6871f63095761bba070d3fe1888675ebdc6288098b91.

OpenKinect/libfreenect2 has 28,476 source lines of code out of 40,049 total lines across 128 files, counted with tokei from the fd64c5d9b214df6f6a55b4419357e51083f15d93 ref at commit fd64c5d9b214 on November 2, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving OpenKinect/libfreenect2 to commit fd64c5d9b214, 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

OpenKinect/libfreenect2: 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 medium-sized codebase by counted code lines. Code represents 71.1% of all lines, comments represent 15.4%, and the repository averages 222 code lines per file. C++ Header accounts for 37.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ Header | 9 | 13,825 | 10,645 | 1,828 | 1,352 |
| C++ | 39 | 13,358 | 9,599 | 1,728 | 2,031 |
| C Header | 32 | 6,253 | 3,863 | 1,625 | 765 |
| CUDA | 2 | 2,385 | 1,811 | 150 | 424 |
| CMake | 12 | 1,250 | 967 | 122 | 161 |
| OpenCL | 2 | 1,124 | 806 | 89 | 229 |
| F# | 5 | 539 | 404 | 4 | 131 |
| Batch | 6 | 148 | 117 | 11 | 20 |
| Python | 2 | 168 | 86 | 49 | 33 |
| Shell | 4 | 98 | 66 | 8 | 24 |
| Makefile | 4 | 76 | 56 | 0 | 20 |
| Autoconf | 4 | 98 | 53 | 26 | 19 |
| Snakemake | 1 | 5 | 3 | 2 | 0 |
| Markdown | 3 | 373 | 0 | 280 | 93 |
| Plain Text | 3 | 349 | 0 | 258 | 91 |

Top language: C++ Header 37.4%. Generated on November 2, 2026. Canonical report: https://octocounts.com/github/OpenKinect/libfreenect2/commit/fd64c5d9b214df6f6a55b4419357e51083f15d93?reportId=d81a424d11135e96240f6871f63095761bba070d3fe1888675ebdc6288098b91&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/OpenKinect/libfreenect2/commit/fd64c5d9b214df6f6a55b4419357e51083f15d93?reportId=d81a424d11135e96240f6871f63095761bba070d3fe1888675ebdc6288098b91&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 OpenKinect/libfreenect2 have?

OpenKinect/libfreenect2 has 28,476 lines of code, plus 6,180 comment lines and 5,393 blank lines, for 40,049 total lines at commit fd64c5d9b214 on November 2, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the OpenKinect/libfreenect2 line count measured?

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

### What commit was counted for OpenKinect/libfreenect2?

This OctoCounts report was generated from fd64c5d9b214df6f6a55b4419357e51083f15d93 at commit fd64c5d9b214 on November 2, 2026.

## Similar repository reports

- [IntelSDM/HuntDMA](https://octocounts.com/github/IntelSDM/HuntDMA) — C++ Header, 27,236 code lines
- [jmaczan/tiny-vllm](https://octocounts.com/github/jmaczan/tiny-vllm) — C++ Header, 25,158 code lines
- [Slackadays/Clipboard](https://octocounts.com/github/Slackadays/Clipboard) — C++ Header, 35,668 code lines
- [axstin/rbxfpsunlocker](https://octocounts.com/github/axstin/rbxfpsunlocker) — C++ Header, 36,768 code lines
- [xtensor-stack/xtensor](https://octocounts.com/github/xtensor-stack/xtensor) — C++ Header, 41,873 code lines
- [ProjectPhysX/FluidX3D](https://octocounts.com/github/ProjectPhysX/FluidX3D) — C++ Header, 42,269 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)
- [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)
