# ggml-org/ggml SLOC report

> As of 2026-11-13 (commit 417a024b4fb6), ggml-org/ggml contains 588,697 total lines: 468,969 code, 33,815 comments, 85,913 blank, across 1,594 files in 21 languages (top language: C++ 43.4%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

ggml-org/ggml has 468,969 source lines of code out of 588,697 total lines across 1,594 files, counted with tokei from the master ref at commit 417a024b4fb6 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving ggml-org/ggml to commit 417a024b4fb6, 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.

## Counting rules and retention

ggml-org/ggml: 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.

## Repository size insights

This is a large codebase by counted code lines. Code represents 79.7% of all lines, comments represent 5.7%, and the repository averages 294 code lines per file. C++ accounts for 43.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 292 | 254,896 | 203,362 | 15,314 | 36,220 |
| C | 98 | 91,015 | 72,047 | 4,272 | 14,696 |
| OpenCL | 275 | 59,843 | 52,129 | 0 | 7,714 |
| C Header | 225 | 59,637 | 44,008 | 7,004 | 8,625 |
| CUDA | 209 | 31,102 | 25,297 | 1,509 | 4,296 |
| GLSL | 193 | 26,173 | 21,126 | 869 | 4,178 |
| C++ Header | 84 | 21,001 | 16,353 | 1,498 | 3,150 |
| Metal Shading Language | 38 | 14,439 | 11,140 | 547 | 2,752 |
| WebGPU Shader Language | 47 | 7,403 | 6,014 | 229 | 1,160 |
| Python | 26 | 5,525 | 4,726 | 225 | 574 |
| CMake | 42 | 5,536 | 4,414 | 414 | 708 |
| Templ | 7 | 4,486 | 3,935 | 37 | 514 |

Top language: C++ 43.4%. Generated on November 13, 2026. Canonical report: https://octocounts.com/github/ggml-org/ggml

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/ggml-org/ggml/commit/417a024b4fb6bc3116d41af7c067166a039bdf12?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=16708b33f8aa97a5f2735d31a3ef1823acf99a67ff59b38d929d78eda6d82419).

## Report FAQ

### How many lines of code does ggml-org/ggml have?

ggml-org/ggml has 468,969 lines of code, plus 33,815 comment lines and 85,913 blank lines, for 588,697 total lines at commit 417a024b4fb6 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the ggml-org/ggml line count measured?

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

### What commit was counted for ggml-org/ggml?

This OctoCounts report was generated from master at commit 417a024b4fb6 on November 13, 2026.

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Godot vs Bevy](https://octocounts.com/compare/godot-vs-bevy)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
