microsoft/onnxruntime

microsoft/onnxruntime has 2,571,676 source lines of code out of 3,012,595 total lines across 7,604 files, counted with tokei from the main ref at commit 14a22c471aa3 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

microsoft/onnxruntime: 2,571,676 code lines at commit 14a22c471aa3, counted with tokei-15.0.0 on 2026-11-16. Saved result e0f46d9982f9976cd8f2f66238c286f605aff97ebbe4349c0aee728f4699b8b0.

OctoCounts produced this report by resolving microsoft/onnxruntime to commit 14a22c471aa3, 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 very large codebase by counted code lines. Code represents 85.4% of all lines, comments represent 7.5%, and the repository averages 338 code lines per file. C++ accounts for 67.1% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++2121187524317253776383486032
C Header25225078753685377939859940
Python6551648231300281077124024
CUDA730106470844951008111894
GNU Style Assembly87626354935389864296
TypeScript257535714047578925204
JSON80369393693009
YAML225262082247510442689
C#75320412190668943241
Assembly59256191832744352857
CMake113223311713326892509
JavaScript4915446965544961295
Java4812212647146371104
Go2565855521283781
C++ Header20713550061154975
C22710749421416749
Rust2553604495193672
Bitbake22483442164614
Shell7042492862792595
CSS3254924293882
Objective-C++1727042126129449
TSX51307115247108
XAML121029944184
Jupyter Notebooks71599927394278
MSBuild191027766124137
Batch1885264542165
Visual Studio Solution664263804
HLSL678061264104
PowerShell10837564155118
SVG541641510
XML214303811633
Dockerfile125293678280
FlatBuffers Schema34363164377
Forge Config326922981805589
TOML51701421018
Autoconf111931343920
Liquid812212200
Templ610910513
LD Script1110797010
NuGet Config6625930
Kotlin275531111
Objective-C378531312
Module-Definition13444310
HTML1232300
Jinja21201802
INI22917102
Prolog2151401
Just1131102
Swift14121
Markdown1089841074592382
Plain Text717178058231355

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

Counting rules and retention

microsoft/onnxruntime: 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 microsoft/onnxruntime have?

microsoft/onnxruntime has 2,571,676 lines of code, plus 225,312 comment lines and 215,607 blank lines, for 3,012,595 total lines at commit 14a22c471aa3 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

How was the microsoft/onnxruntime line count measured?

OctoCounts resolved the public GitHub repository to commit 14a22c471aa3, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

What commit was counted for microsoft/onnxruntime?

This OctoCounts report was generated from main at commit 14a22c471aa3 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 microsoft/onnxruntime on this page — 2,571,676 code lines across 51 languages, counted by tokei.