alibaba/MNN has 2,699,238 source lines of code out of 3,188,805 total lines across 7,175 files, counted with tokei from the master ref at commit b6a32165e285 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
alibaba/MNN: 2,699,238 code lines at commit b6a32165e285, counted with tokei-15.0.0 on 2026-11-13. Saved result 5aed033cde672bb549a212d2ce84b7c4fc440342973544e788db46789c746dff.
OctoCounts produced this report by resolving alibaba/MNN to commit b6a32165e285, 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 very large codebase by counted code lines. Code represents 84.6% of all lines, comments represent 8.9%, and the repository averages 376 code lines per file. C++ accounts for 64.0% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C++ | 2276 | 1830431 | 1726266 | 44946 | 59219 |
| C++ Header | 1458 | 428968 | 335040 | 53458 | 40470 |
| C Header | 772 | 401595 | 290234 | 63439 | 47922 |
| GNU Style Assembly | 313 | 86601 | 66369 | 6571 | 13661 |
| Python | 270 | 70957 | 60032 | 2801 | 8124 |
| Kotlin | 420 | 61927 | 49599 | 4588 | 7740 |
| OpenCL | 88 | 29387 | 26466 | 60 | 2861 |
| CUDA | 109 | 31704 | 25802 | 1909 | 3993 |
| Objective-C++ | 51 | 23318 | 20066 | 1746 | 1506 |
| C | 46 | 19690 | 16430 | 1922 | 1338 |
| XML | 333 | 15596 | 13827 | 511 | 1258 |
| GLSL | 218 | 15705 | 13127 | 431 | 2147 |
| Shell | 123 | 14103 | 10073 | 2299 | 1731 |
| Swift | 119 | 14562 | 9934 | 2623 | 2005 |
| CMake | 121 | 12455 | 9786 | 1312 | 1357 |
| JSON | 66 | 8196 | 8182 | 0 | 14 |
| Metal Shading Language | 34 | 4092 | 3617 | 38 | 437 |
| Protocol Buffers | 40 | 8495 | 3329 | 4131 | 1035 |
| FlatBuffers Schema | 20 | 3800 | 2830 | 490 | 480 |
| Java | 27 | 3203 | 2344 | 247 | 612 |
| Bitbake | 5 | 1452 | 1247 | 173 | 32 |
| Automake | 1 | 914 | 844 | 28 | 42 |
| Autoconf | 12 | 709 | 546 | 83 | 80 |
| PowerShell | 6 | 711 | 536 | 93 | 82 |
| Rust | 2 | 662 | 528 | 60 | 74 |
| Batch | 7 | 572 | 429 | 13 | 130 |
| Bazel | 4 | 366 | 313 | 25 | 28 |
| HTML | 1 | 300 | 299 | 0 | 1 |
| Lua | 6 | 327 | 257 | 27 | 43 |
| JavaScript | 4 | 345 | 225 | 71 | 49 |
| Ruby | 5 | 219 | 192 | 10 | 17 |
| YAML | 3 | 120 | 97 | 9 | 14 |
| Go | 1 | 165 | 92 | 46 | 27 |
| C# | 1 | 134 | 82 | 31 | 21 |
| PHP | 1 | 115 | 65 | 28 | 22 |
| TOML | 1 | 43 | 39 | 0 | 4 |
| Prolog | 2 | 42 | 36 | 0 | 6 |
| Makefile | 2 | 76 | 28 | 35 | 13 |
| Objective-C | 3 | 49 | 20 | 21 | 8 |
| Dockerfile | 1 | 8 | 7 | 1 | 0 |
| Forge Config | 3 | 3 | 3 | 0 | 0 |
| Markdown | 156 | 24559 | 0 | 17948 | 6611 |
| Plain Text | 44 | 72129 | 0 | 71282 | 847 |
Top language: C++ 64.0%. Generated on .
alibaba/MNN: 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.
alibaba/MNN has 2,699,238 lines of code, plus 283,506 comment lines and 206,061 blank lines, for 3,188,805 total lines at commit b6a32165e285 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit b6a32165e285, 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 b6a32165e285 on November 13, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for alibaba/MNN on this page — 2,699,238 code lines across 43 languages, counted by tokei.