k2-fsa/sherpa-onnx SLOC report
As of 2026-08-15 (commit 3e4093389590), k2-fsa/sherpa-onnx contains 433,590 total lines: 318,068 code, 41,770 comments, 73,752 blank, across 4,327 files in 37 languages (top: C++ 27.3%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving k2-fsa/sherpa-onnx to commit 3e4093389590, 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.4% of all lines, comments represent 9.6%, and the repository averages 74 code lines per file. C++ accounts for 27.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| C++ | 583 | 113177 | 86960 | 5674 | 20543 |
| Python | 352 | 68911 | 55888 | 2207 | 10816 |
| C Header | 515 | 45917 | 27464 | 9679 | 8774 |
| Dart | 216 | 26044 | 20298 | 1698 | 4048 |
| Shell | 564 | 24711 | 17616 | 2442 | 4653 |
| JavaScript | 188 | 21820 | 15770 | 2535 | 3515 |
| Rust | 87 | 14923 | 12395 | 531 | 1997 |
| Kotlin | 189 | 14974 | 11975 | 1026 | 1973 |
| Java | 180 | 12620 | 9290 | 831 | 2499 |
| CMake | 114 | 11222 | 8283 | 1294 | 1645 |
| Pascal | 64 | 11466 | 7698 | 1762 | 2006 |
| C# | 137 | 9732 | 7265 | 738 | 1729 |
Top language (C++ 27.3%). Generated at 2026-08-15T06:23:52.665434971+00:00.
Report FAQ
How many lines of code does k2-fsa/sherpa-onnx have?
k2-fsa/sherpa-onnx has 433,590 total lines, including 318,068 code lines, 41,770 comment lines, and 73,752 blank lines.
How was the k2-fsa/sherpa-onnx line count measured?
OctoCounts resolved the public GitHub repository to commit 3e4093389590, 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 3e4093389590 on 2026-08-15T06:23:52.665434971+00:00.