k2-fsa/sherpa-onnx has 361,921 source lines of code out of 496,803 total lines across 4,904 files, counted with tokei from the master ref at commit cc4fc200e390 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
k2-fsa/sherpa-onnx: 361,921 code lines at commit cc4fc200e390, counted with tokei-15.0.0 on 2026-11-16. Saved result f4f48f0cec736f7fcfdebadb5eccab170e27f116d04870e496d6c2c40fd78b6f.
OctoCounts produced this report by resolving k2-fsa/sherpa-onnx to commit cc4fc200e390, 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 large codebase by counted code lines. Code represents 72.9% of all lines, comments represent 10.7%, and the repository averages 74 code lines per file. C++ accounts for 26.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 628 | 123169 | 94911 | 6527 | 21731 |
| Python | 404 | 76635 | 62127 | 2629 | 11879 |
| C Header | 542 | 52300 | 31449 | 11341 | 9510 |
| Dart | 266 | 34111 | 26913 | 2366 | 4832 |
| Shell | 646 | 27914 | 19824 | 2809 | 5281 |
| JavaScript | 228 | 26906 | 19208 | 3621 | 4077 |
| Rust | 112 | 19116 | 15740 | 907 | 2469 |
| Kotlin | 231 | 18842 | 14946 | 1613 | 2283 |
| Java | 201 | 14602 | 10396 | 1440 | 2766 |
| CMake | 136 | 13235 | 9655 | 1610 | 1970 |
| Pascal | 69 | 12045 | 8065 | 1899 | 2081 |
| C# | 148 | 10796 | 7958 | 978 | 1860 |
| Swift | 149 | 10337 | 7831 | 927 | 1579 |
| XML | 257 | 6551 | 5358 | 991 | 202 |
| Go | 51 | 6989 | 5048 | 562 | 1379 |
| C | 66 | 7246 | 4669 | 1341 | 1236 |
| Ark TypeScript | 40 | 5128 | 3950 | 396 | 782 |
| JSON | 132 | 3445 | 3445 | 0 | 0 |
| Autoconf | 30 | 3102 | 2146 | 289 | 667 |
| HTML | 25 | 1965 | 1562 | 222 | 181 |
| Batch | 20 | 1776 | 1358 | 0 | 418 |
| CSS | 5 | 1483 | 1216 | 11 | 256 |
| YAML | 98 | 2399 | 1170 | 700 | 529 |
| MSBuild | 51 | 861 | 711 | 0 | 150 |
| Visual Studio Project | 3 | 657 | 657 | 0 | 0 |
| TOML | 13 | 470 | 380 | 25 | 65 |
| Visual Studio Solution | 2 | 349 | 344 | 0 | 5 |
| Prolog | 19 | 378 | 324 | 0 | 54 |
| Xcode Config | 78 | 382 | 272 | 80 | 30 |
| TypeScript | 14 | 176 | 150 | 0 | 26 |
| 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 | 6 | 4 | 2 | 0 |
| Markdown | 207 | 13107 | 0 | 9644 | 3463 |
| Plain Text | 9 | 162 | 0 | 141 | 21 |
Top language: C++ 26.2%. Generated on .
k2-fsa/sherpa-onnx: 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.
k2-fsa/sherpa-onnx has 361,921 lines of code, plus 53,076 comment lines and 81,806 blank lines, for 496,803 total lines at commit cc4fc200e390 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit cc4fc200e390, 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 cc4fc200e390 on November 16, 2026.
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 — 361,921 code lines across 37 languages, counted by tokei.