As of 2026-08-18 (commit 1cb484af5e69), k2-fsa/sherpa-onnx contains 445,556 total lines: 326,958 code, 43,413 comments, 75,185 blank, across 4,474 files in 37 languages (top: C++ 26.9%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving k2-fsa/sherpa-onnx to commit 1cb484af5e69, 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.
This is a large codebase by counted code lines. Code represents 73.4% of all lines, comments represent 9.7%, and the repository averages 73 code lines per file. C++ accounts for 26.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 595 | 114419 | 87844 | 5800 | 20775 |
| Python | 352 | 68911 | 55888 | 2207 | 10816 |
| C Header | 527 | 46301 | 27656 | 9789 | 8856 |
| Dart | 255 | 32497 | 25755 | 2081 | 4661 |
| Shell | 564 | 24716 | 17620 | 2442 | 4654 |
| JavaScript | 192 | 22849 | 16443 | 2764 | 3642 |
| Rust | 87 | 14923 | 12395 | 531 | 1997 |
| Kotlin | 197 | 15172 | 12131 | 1038 | 2003 |
| Java | 180 | 12620 | 9290 | 831 | 2499 |
| CMake | 126 | 12220 | 8919 | 1508 | 1793 |
| Pascal | 64 | 11466 | 7698 | 1762 | 2006 |
| C# | 137 | 9732 | 7265 | 738 | 1729 |
Top language (C++ 26.9%). Generated at 2026-08-18T13:41:09.917063182+00:00.
k2-fsa/sherpa-onnx has 445,556 total lines, including 326,958 code lines, 43,413 comment lines, and 75,185 blank lines.
OctoCounts resolved the public GitHub repository to commit 1cb484af5e69, 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 master at commit 1cb484af5e69 on 2026-08-18T13:41:09.917063182+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: