k2-fsa/sherpa-onnx

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.

Repository size insights

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.

LanguageFilesLinesCodeCommentsBlanks
C++62812316994911652721731
Python4047663562127262911879
C Header5425230031449113419510
Dart266341112691323664832
Shell646279141982428095281
JavaScript228269061920836214077
Rust11219116157409072469
Kotlin231188421494616132283
Java201146021039614402766
CMake13613235965516101970
Pascal6912045806518992081
C#1481079679589781860
Swift1491033778319271579
XML25765515358991202
Go51698950485621379
C667246466913411236
Ark TypeScript4051283950396782
JSON1323445344500
Autoconf3031022146289667
HTML2519651562222181
Batch20177613580418
CSS51483121611256
YAML9823991170700529
MSBuild518617110150
Visual Studio Project365765700
TOML134703802565
Visual Studio Solution234934405
Prolog19378324054
Xcode Config783822728030
TypeScript14176150026
Makefile28560421
SVG16434210
Jinja21211803
LD Script2141400
Forge Config36420
Markdown20713107096443463
Plain Text9162014121

Top language: C++ 26.2%. Generated on .

Counting rules and retention

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.

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does k2-fsa/sherpa-onnx have?

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.

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

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.

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

This OctoCounts report was generated from master at commit cc4fc200e390 on November 16, 2026.

Similar repository reports

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.