# haproxy/haproxy SLOC report

> As of 2026-09-16 (commit fc0e50f42d27), haproxy/haproxy contains 533,676 total lines: 323,560 code, 137,222 comments, 72,894 blank, across 928 files in 20 languages (top: C 77.7%). Default configuration. Counted with tokei via OctoCounts.

haproxy/haproxy has 323,560 source lines of code out of 533,676 total lines across 928 files, counted from the master ref at commit fc0e50f42d27 by the OctoCounts tokei engine on 2026-09-16. 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 fc0e50f42d27, 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 60.6% of all lines, comments represent 25.7%, and the repository averages 349 code lines per file. C accounts for 77.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 299 | 356,601 | 251,470 | 57,753 | 47,378 |
| C Header | 390 | 87,552 | 51,387 | 25,869 | 10,296 |
| Forge Config | 51 | 7,761 | 6,475 | 854 | 432 |
| ReStructuredText | 1 | 4,857 | 3,266 | 0 | 1,591 |
| Shell | 19 | 2,839 | 2,286 | 217 | 336 |
| XML | 5 | 1,756 | 1,756 | 0 | 0 |
| SVG | 2 | 1,916 | 1,478 | 438 | 0 |
| Lua | 20 | 1,715 | 1,307 | 207 | 201 |
| BASH | 7 | 1,524 | 1,171 | 146 | 207 |
| Makefile | 17 | 1,859 | 1,168 | 430 | 261 |
| AWK | 2 | 912 | 582 | 275 | 55 |
| Python | 7 | 951 | 509 | 275 | 167 |

Top language (C 77.7%). Generated at 2026-09-16T21:04:46.269129997+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/fc0e50f42d275e00dd8349b24f4baed69ee15783?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Atrue%2C%22includeTests%22%3Atrue%2C%22includeGenerated%22%3Atrue%7D).

## Report FAQ

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

haproxy/haproxy has 533,676 total lines, including 323,560 code lines, 137,222 comment lines, and 72,894 blank lines.

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

OctoCounts resolved the public GitHub repository to commit fc0e50f42d27, 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 fc0e50f42d27 on 2026-09-16T21:04:46.269129997+00:00.

## Similar repository reports

- [gnutls/gnutls](https://octocounts.com/github/gnutls/gnutls) — C, 327,933 code lines
- [armory3d/armorpaint](https://octocounts.com/github/armory3d/armorpaint) — C, 317,873 code lines
- [DarkFlippers/unleashed-firmware](https://octocounts.com/github/DarkFlippers/unleashed-firmware) — C, 338,665 code lines
- [clnhub/rtl8192eu-linux](https://octocounts.com/github/clnhub/rtl8192eu-linux) — C, 345,004 code lines
- [x11libre/xserver](https://octocounts.com/github/x11libre/xserver) — C, 350,425 code lines
- [kraj/uClibc](https://octocounts.com/github/kraj/uClibc) — C, 289,199 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)
