# k2-fsa/sherpa-onnx SLOC report

> k2-fsa/sherpa-onnx: 340,132 code lines at commit ce949db9dd68, counted with tokei-14.0.0 on 2026-10-22. Saved result 0efe0eb11b672e3c6908723d91c0cf2a5d0a596602e704b97bc84f1a2afc30bc.

k2-fsa/sherpa-onnx has 340,132 source lines of code out of 465,205 total lines across 4,626 files, counted from the master ref at commit ce949db9dd68 by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving k2-fsa/sherpa-onnx to commit ce949db9dd68, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a large codebase by counted code lines. Code represents 73.1% of all lines, comments represent 10.2%, and the repository averages 74 code lines per file. C++ accounts for 26.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 603 | 117,175 | 90,105 | 6,141 | 20,929 |
| Python | 380 | 72,006 | 58,351 | 2,363 | 11,292 |
| C Header | 527 | 49,635 | 30,086 | 10,429 | 9,120 |
| Dart | 261 | 33,529 | 26,511 | 2,259 | 4,759 |
| Shell | 597 | 25,756 | 18,275 | 2,582 | 4,899 |
| JavaScript | 213 | 24,892 | 17,834 | 3,197 | 3,861 |
| Rust | 97 | 16,249 | 13,362 | 721 | 2,166 |
| Kotlin | 201 | 15,551 | 12,388 | 1,123 | 2,040 |
| Java | 188 | 13,583 | 9,906 | 1,041 | 2,636 |
| CMake | 132 | 12,703 | 9,257 | 1,566 | 1,880 |
| Pascal | 65 | 11,684 | 7,855 | 1,795 | 2,034 |
| C# | 143 | 10,477 | 7,778 | 875 | 1,824 |
| Swift | 145 | 9,928 | 7,584 | 822 | 1,522 |
| XML | 246 | 6,241 | 5,079 | 967 | 195 |
| Go | 47 | 6,662 | 4,854 | 478 | 1,330 |
| C | 60 | 6,667 | 4,317 | 1,204 | 1,146 |
| Ark TypeScript | 39 | 5,046 | 3,895 | 380 | 771 |
| JSON | 128 | 3,343 | 3,343 | 0 | 0 |
| Autoconf | 29 | 3,005 | 2,085 | 280 | 640 |
| HTML | 24 | 1,742 | 1,343 | 221 | 178 |
| Batch | 19 | 1,687 | 1,290 | 0 | 397 |
| YAML | 86 | 2,109 | 1,048 | 596 | 465 |
| CSS | 4 | 979 | 796 | 7 | 176 |
| MSBuild | 47 | 795 | 657 | 0 | 138 |
| Visual Studio Project | 3 | 657 | 657 | 0 | 0 |
| Visual Studio Solution | 2 | 325 | 320 | 0 | 5 |
| Prolog | 18 | 357 | 306 | 0 | 51 |
| TOML | 11 | 377 | 301 | 18 | 58 |
| Xcode Config | 78 | 382 | 272 | 80 | 30 |
| TypeScript | 14 | 164 | 140 | 0 | 24 |
| Makefile | 2 | 85 | 60 | 4 | 21 |
| SVG | 16 | 43 | 42 | 1 | 0 |
| Jinja2 | 1 | 21 | 18 | 0 | 3 |
| LD Script | 2 | 14 | 14 | 0 | 0 |
| Forge Config | 3 | 3 | 3 | 0 | 0 |
| Markdown | 186 | 11,171 | 0 | 8,156 | 3,015 |
| Plain Text | 9 | 162 | 0 | 141 | 21 |

Top language (C++ 26.5%). Generated at 2026-10-22T04:52:44.328627364Z. Canonical report: https://octocounts.com/github/k2-fsa/sherpa-onnx/commit/ce949db9dd6893b62c2ee54057800ec67fe2aedf?reportId=0efe0eb11b672e3c6908723d91c0cf2a5d0a596602e704b97bc84f1a2afc30bc&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/k2-fsa/sherpa-onnx/commit/ce949db9dd6893b62c2ee54057800ec67fe2aedf?reportId=0efe0eb11b672e3c6908723d91c0cf2a5d0a596602e704b97bc84f1a2afc30bc&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 k2-fsa/sherpa-onnx have?

k2-fsa/sherpa-onnx has 465,205 total lines, including 340,132 code lines, 47,447 comment lines, and 77,626 blank lines.

### How was the k2-fsa/sherpa-onnx line count measured?

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

### What commit was counted for k2-fsa/sherpa-onnx?

This OctoCounts report was generated from master at commit ce949db9dd68 on 2026-10-22T04:52:44.328627364Z.

## Similar repository reports

- [mahmoudgalal/ZeeArchiver-Android](https://octocounts.com/github/mahmoudgalal/ZeeArchiver-Android) — C++, 339,723 code lines
- [boykopovar/AnyPS5](https://octocounts.com/github/boykopovar/AnyPS5) — C++, 326,884 code lines
- [YimMenu/YimMenuV2](https://octocounts.com/github/YimMenu/YimMenuV2) — C++, 359,794 code lines
- [deadinside28/bloodborne_pc](https://octocounts.com/github/deadinside28/bloodborne_pc) — C++, 319,492 code lines
- [RunanywhereAI/runanywhere-sdks](https://octocounts.com/github/RunanywhereAI/runanywhere-sdks) — C++, 375,410 code lines
- [wolfpld/tracy](https://octocounts.com/github/wolfpld/tracy) — C++, 376,351 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)
- [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)
