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.
k2-fsa/sherpa-onnx: 340,132 code lines at commit ce949db9dd68, counted with tokei-14.0.0 on 2026-10-22. Saved result 0efe0eb11b672e3c6908723d91c0cf2a5d0a596602e704b97bc84f1a2afc30bc.
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.
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 | 117175 | 90105 | 6141 | 20929 |
| Python | 380 | 72006 | 58351 | 2363 | 11292 |
| C Header | 527 | 49635 | 30086 | 10429 | 9120 |
| Dart | 261 | 33529 | 26511 | 2259 | 4759 |
| Shell | 597 | 25756 | 18275 | 2582 | 4899 |
| JavaScript | 213 | 24892 | 17834 | 3197 | 3861 |
| Rust | 97 | 16249 | 13362 | 721 | 2166 |
| Kotlin | 201 | 15551 | 12388 | 1123 | 2040 |
| Java | 188 | 13583 | 9906 | 1041 | 2636 |
| CMake | 132 | 12703 | 9257 | 1566 | 1880 |
| Pascal | 65 | 11684 | 7855 | 1795 | 2034 |
| C# | 143 | 10477 | 7778 | 875 | 1824 |
| Swift | 145 | 9928 | 7584 | 822 | 1522 |
| XML | 246 | 6241 | 5079 | 967 | 195 |
| Go | 47 | 6662 | 4854 | 478 | 1330 |
| C | 60 | 6667 | 4317 | 1204 | 1146 |
| Ark TypeScript | 39 | 5046 | 3895 | 380 | 771 |
| JSON | 128 | 3343 | 3343 | 0 | 0 |
| Autoconf | 29 | 3005 | 2085 | 280 | 640 |
| HTML | 24 | 1742 | 1343 | 221 | 178 |
| Batch | 19 | 1687 | 1290 | 0 | 397 |
| YAML | 86 | 2109 | 1048 | 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 | 11171 | 0 | 8156 | 3015 |
| Plain Text | 9 | 162 | 0 | 141 | 21 |
Top language (C++ 26.5%). Generated at .
k2-fsa/sherpa-onnx has 465,205 total lines, including 340,132 code lines, 47,447 comment lines, and 77,626 blank lines.
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.
This OctoCounts report was generated from master at commit ce949db9dd68 on 2026-10-22T04:52:44.328627364Z.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for k2-fsa/sherpa-onnx on this page — 340,132 code lines across 37 languages, counted by tokei.