# memgraph/memgraph SLOC report

> As of 2026-09-17 (commit 068f68204f70), memgraph/memgraph contains 422,454 total lines: 299,153 code, 63,214 comments, 60,087 blank, across 1,823 files in 22 languages (top: C++ 50.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

memgraph/memgraph has 299,153 source lines of code out of 422,454 total lines across 1,823 files, counted from the 068f68204f7006e8b99cfdbd4b2e869c0d971008 ref at commit 068f68204f70 by the OctoCounts tokei engine on 2026-09-17. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving memgraph/memgraph to commit 068f68204f70, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a large codebase by counted code lines. Code represents 70.8% of all lines, comments represent 15.0%, and the repository averages 164 code lines per file. C++ accounts for 50.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C++ | 486 | 197,366 | 152,324 | 20,783 | 24,259 |
| C++ Header | 708 | 131,741 | 81,890 | 26,841 | 23,010 |
| Python | 189 | 34,679 | 27,382 | 1,639 | 5,658 |
| Shell | 107 | 22,320 | 17,384 | 3,036 | 1,900 |
| Rust | 28 | 7,105 | 5,929 | 479 | 697 |
| CMake | 115 | 5,295 | 3,606 | 1,038 | 651 |
| C++ Module | 15 | 4,210 | 2,804 | 766 | 640 |
| C Header | 22 | 6,007 | 2,227 | 2,693 | 1,087 |
| C | 2 | 1,731 | 1,324 | 188 | 219 |
| CUDA | 10 | 1,637 | 1,137 | 223 | 277 |
| YAML | 32 | 1,002 | 891 | 49 | 62 |
| Dockerfile | 23 | 1,272 | 832 | 226 | 214 |

Top language (C++ 50.9%). Generated at 2026-09-17T02:50:59.087482516+00:00. Canonical report: https://octocounts.com/github/memgraph/memgraph

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/memgraph/memgraph/commit/068f68204f7006e8b99cfdbd4b2e869c0d971008?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).

## Report FAQ

### How many lines of code does memgraph/memgraph have?

memgraph/memgraph has 422,454 total lines, including 299,153 code lines, 63,214 comment lines, and 60,087 blank lines.

### How was the memgraph/memgraph line count measured?

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

### What commit was counted for memgraph/memgraph?

This OctoCounts report was generated from 068f68204f7006e8b99cfdbd4b2e869c0d971008 at commit 068f68204f70 on 2026-09-17T02:50:59.087482516+00:00.

## Similar repository reports

- [gammasoft71/xtd](https://octocounts.com/github/gammasoft71/xtd) — C++, 304,854 code lines
- [Ominus-tch/Piano-Visualizer](https://octocounts.com/github/Ominus-tch/Piano-Visualizer) — C++, 277,221 code lines
- [k2-fsa/sherpa-onnx](https://octocounts.com/github/k2-fsa/sherpa-onnx) — C++, 328,396 code lines
- [ggml-org/ggml](https://octocounts.com/github/ggml-org/ggml) — C++, 269,756 code lines
- [YuriSizuku/Kirikiroid2Yuri](https://octocounts.com/github/YuriSizuku/Kirikiroid2Yuri) — C++, 268,699 code lines
- [microsoft/terminal](https://octocounts.com/github/microsoft/terminal) — C++, 265,695 code lines

## 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)
- [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)
