# tmux/tmux SLOC report

> As of 2026-09-07 (commit 578e07fcbc66), tmux/tmux contains 138,713 total lines: 107,939 code, 13,951 comments, 16,823 blank, across 373 files in 12 languages (top: C 77.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

tmux/tmux has 107,939 source lines of code out of 138,713 total lines across 373 files, counted from the 578e07fcbc66dc60822b55b88ba12f518df57374 ref at commit 578e07fcbc66 by the OctoCounts tokei engine on 2026-09-07. 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 tmux/tmux to commit 578e07fcbc66, 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 77.8% of all lines, comments represent 10.1%, and the repository averages 289 code lines per file. C accounts for 77.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 198 | 105,781 | 83,855 | 9,153 | 12,773 |
| Shell | 150 | 22,037 | 16,449 | 2,702 | 2,886 |
| C Header | 9 | 6,596 | 5,199 | 683 | 714 |
| Happy | 1 | 1,762 | 1,562 | 0 | 200 |
| AWK | 1 | 370 | 339 | 24 | 7 |
| Automake | 1 | 286 | 249 | 19 | 18 |
| Bitbake | 1 | 190 | 158 | 0 | 32 |
| SVG | 3 | 51 | 48 | 3 | 0 |
| Perl | 1 | 63 | 41 | 13 | 9 |
| Makefile | 1 | 41 | 39 | 0 | 2 |
| Markdown | 2 | 235 | 0 | 170 | 65 |
| Plain Text | 5 | 1,301 | 0 | 1,184 | 117 |

Top language (C 77.7%). Generated at 2026-09-07T06:44:52.806810433+00:00. Canonical report: https://octocounts.com/github/tmux/tmux

## Reproduce this report

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

tmux/tmux has 138,713 total lines, including 107,939 code lines, 13,951 comment lines, and 16,823 blank lines.

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

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

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

This OctoCounts report was generated from 578e07fcbc66dc60822b55b88ba12f518df57374 at commit 578e07fcbc66 on 2026-09-07T06:44:52.806810433+00:00.

## Similar repository reports

- [fastfetch-cli/fastfetch](https://octocounts.com/github/fastfetch-cli/fastfetch) — C, 107,801 code lines
- [noctalia-dev/noctalia-greeter](https://octocounts.com/github/noctalia-dev/noctalia-greeter) — C, 105,503 code lines
- [unbit/uwsgi](https://octocounts.com/github/unbit/uwsgi) — C, 102,460 code lines
- [ifduyue/musl](https://octocounts.com/github/ifduyue/musl) — C, 96,790 code lines
- [kraj/musl](https://octocounts.com/github/kraj/musl) — C, 96,391 code lines
- [tuxera/ntfs-3g](https://octocounts.com/github/tuxera/ntfs-3g) — C, 95,739 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)
