# haproxy/haproxy SLOC report

> As of 2026-10-07 (commit 19a5382e0022), haproxy/haproxy contains 464,115 total lines: 316,299 code, 87,934 comments, 59,882 blank, across 819 files in 18 languages (top: C 80.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

haproxy/haproxy has 316,299 source lines of code out of 464,115 total lines across 819 files, counted from the master ref at commit 19a5382e0022 by the OctoCounts tokei engine on 2026-10-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 haproxy/haproxy to commit 19a5382e0022, 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 68.2% of all lines, comments represent 18.9%, and the repository averages 386 code lines per file. C accounts for 80.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 294 | 361,459 | 254,715 | 58,823 | 47,921 |
| C Header | 400 | 88,912 | 51,930 | 26,538 | 10,444 |
| Shell | 15 | 2,874 | 2,296 | 247 | 331 |
| XML | 5 | 1,756 | 1,756 | 0 | 0 |
| Lua | 20 | 1,692 | 1,288 | 205 | 199 |
| BASH | 7 | 1,524 | 1,171 | 146 | 207 |
| Makefile | 17 | 1,798 | 1,104 | 449 | 245 |
| AWK | 2 | 912 | 582 | 275 | 55 |
| Python | 4 | 658 | 441 | 125 | 92 |
| Forge Config | 12 | 571 | 311 | 170 | 90 |
| GDB Script | 10 | 344 | 275 | 50 | 19 |
| Perl | 1 | 249 | 168 | 16 | 65 |

Top language (C 80.5%). Generated at 2026-10-07T21:32:36.232862770+00:00. Canonical report: https://octocounts.com/github/haproxy/haproxy

## Reproduce this report

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

haproxy/haproxy has 464,115 total lines, including 316,299 code lines, 87,934 comment lines, and 59,882 blank lines.

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

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

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

This OctoCounts report was generated from master at commit 19a5382e0022 on 2026-10-07T21:32:36.232862770+00:00.

## Similar repository reports

- [throneproj/Throne](https://octocounts.com/github/throneproj/Throne) — C, 307,244 code lines
- [gnutls/gnutls](https://octocounts.com/github/gnutls/gnutls) — C, 327,934 code lines
- [EpicGames/raddebugger](https://octocounts.com/github/EpicGames/raddebugger) — C, 293,736 code lines
- [clnhub/rtl8192eu-linux](https://octocounts.com/github/clnhub/rtl8192eu-linux) — C, 345,004 code lines
- [DarkFlippers/unleashed-firmware](https://octocounts.com/github/DarkFlippers/unleashed-firmware) — C, 346,023 code lines
- [x11libre/xserver](https://octocounts.com/github/x11libre/xserver) — C, 350,694 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)
