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.
As of 2026-11-02 (commit fd64c5d9b214), OpenKinect/libfreenect2 contains 40,049 total lines: 28,476 code, 6,180 comments, 5,393 blank, across 128 files in 15 languages (top language: C++ Header 37.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
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.
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 | 13825 | 10645 | 1828 | 1352 |
| C++ | 39 | 13358 | 9599 | 1728 | 2031 |
| C Header | 32 | 6253 | 3863 | 1625 | 765 |
| CUDA | 2 | 2385 | 1811 | 150 | 424 |
| CMake | 12 | 1250 | 967 | 122 | 161 |
| OpenCL | 2 | 1124 | 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 |
Top language: C++ Header 37.4%. Generated on .
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.
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.
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.
This OctoCounts report was generated from fd64c5d9b214df6f6a55b4419357e51083f15d93 at commit fd64c5d9b214 on November 2, 2026.
Play the growth animation for OpenKinect/libfreenect2 on this page — 28,476 code lines across 15 languages, counted by tokei.