As of 2026-08-02 (commit 4b90ec769235), nginx/nginx contains 285,984 total lines: 214,280 code, 7,983 comments, 63,721 blank, across 425 files in 12 languages (top: C 79.3%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving nginx/nginx to commit 4b90ec769235, 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.
This is a large codebase by counted code lines. Code represents 74.9% of all lines, comments represent 2.8%, and the repository averages 504 code lines per file. C accounts for 79.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 264 | 233562 | 169891 | 6393 | 57278 |
| XML | 2 | 32092 | 31092 | 0 | 1000 |
| C Header | 136 | 16615 | 10541 | 1090 | 4984 |
| Vim Script | 4 | 1995 | 1983 | 4 | 8 |
| Perl | 4 | 281 | 179 | 38 | 64 |
| Shell | 2 | 234 | 164 | 10 | 60 |
| Makefile | 3 | 220 | 155 | 1 | 64 |
| Bazel | 1 | 178 | 129 | 6 | 43 |
| XSL | 1 | 128 | 89 | 0 | 39 |
| HTML | 2 | 40 | 38 | 0 | 2 |
| C++ | 1 | 31 | 19 | 3 | 9 |
| Markdown | 5 | 608 | 0 | 438 | 170 |
Top language (C 79.3%). Generated at 2026-08-02T00:40:45.288633686+00:00.
nginx/nginx has 285,984 total lines, including 214,280 code lines, 7,983 comment lines, and 63,721 blank lines.
OctoCounts resolved the public GitHub repository to commit 4b90ec769235, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from master at commit 4b90ec769235 on 2026-08-02T00:40:45.288633686+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: