# memcached/memcached SLOC report

> As of 2026-08-26 (commit 2d51e364799b), memcached/memcached contains 56,768 total lines: 41,471 code, 8,987 comments, 6,310 blank, across 139 files in 11 languages (top: C 74.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

memcached/memcached has 41,471 source lines of code out of 56,768 total lines across 139 files, counted from the master ref at commit 2d51e364799b by the OctoCounts tokei engine on 2026-08-26. 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 memcached/memcached to commit 2d51e364799b, 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 medium-sized codebase by counted code lines. Code represents 73.1% of all lines, comments represent 15.8%, and the repository averages 298 code lines per file. C accounts for 74.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 56 | 40,613 | 31,018 | 5,113 | 4,482 |
| C Header | 37 | 10,175 | 6,016 | 3,057 | 1,102 |
| Lua | 27 | 2,795 | 2,249 | 242 | 304 |
| Perl | 8 | 1,978 | 1,588 | 148 | 242 |
| Automake | 1 | 234 | 199 | 1 | 34 |
| Autoconf | 1 | 212 | 147 | 21 | 44 |
| M4 | 1 | 188 | 129 | 42 | 17 |
| Shell | 2 | 63 | 48 | 5 | 10 |
| D | 1 | 300 | 39 | 229 | 32 |
| YAML | 2 | 38 | 38 | 0 | 0 |
| Markdown | 3 | 172 | 0 | 129 | 43 |

Top language (C 74.8%). Generated at 2026-08-26T18:44:36.595947434+00:00. Canonical report: https://octocounts.com/github/memcached/memcached

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/memcached/memcached/commit/2d51e364799bc9698bd4b11728ea978cea12da6e?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 memcached/memcached have?

memcached/memcached has 56,768 total lines, including 41,471 code lines, 8,987 comment lines, and 6,310 blank lines.

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

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

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

This OctoCounts report was generated from master at commit 2d51e364799b on 2026-08-26T18:44:36.595947434+00:00.

## Similar repository reports

- [akimd/bison](https://octocounts.com/github/akimd/bison) — C, 41,182 code lines
- [Bigfoot71/r3d](https://octocounts.com/github/Bigfoot71/r3d) — C, 41,086 code lines
- [robertdavidgraham/masscan](https://octocounts.com/github/robertdavidgraham/masscan) — C, 42,331 code lines
- [AmmarkoV/SAM3DBody-cpp](https://octocounts.com/github/AmmarkoV/SAM3DBody-cpp) — C, 42,435 code lines
- [i3/i3](https://octocounts.com/github/i3/i3) — C, 40,254 code lines
- [mirror/wget](https://octocounts.com/github/mirror/wget) — C, 44,810 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)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [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)
