As of 2026-08-11 (commit 38e544ef9421), openwrt/openwrt contains 267,718 total lines: 205,198 code, 23,764 comments, 38,756 blank, across 1,281 files in 21 languages (top: C 30.5%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving openwrt/openwrt to commit 38e544ef9421, 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 76.6% of all lines, comments represent 8.9%, and the repository averages 160 code lines per file. C accounts for 30.5% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 159 | 83949 | 62669 | 9434 | 11846 |
| Makefile | 540 | 71182 | 55441 | 2994 | 12747 |
| C Header | 120 | 27645 | 19796 | 4912 | 2937 |
| Shell | 221 | 23883 | 18854 | 1361 | 3668 |
| Autoconf | 60 | 19135 | 16405 | 395 | 2335 |
| Unreal Script | 41 | 14682 | 11867 | 440 | 2375 |
| Perl | 21 | 12180 | 9523 | 1149 | 1508 |
| JSON | 16 | 3038 | 3037 | 0 | 1 |
| Python | 24 | 3483 | 2666 | 235 | 582 |
| C++ | 1 | 1928 | 1708 | 47 | 173 |
| M4 | 19 | 1462 | 924 | 418 | 120 |
| BASH | 4 | 774 | 615 | 73 | 86 |
Top language (C 30.5%). Generated at 2026-08-11T20:12:10.681607627+00:00.
openwrt/openwrt has 267,718 total lines, including 205,198 code lines, 23,764 comment lines, and 38,756 blank lines.
OctoCounts resolved the public GitHub repository to commit 38e544ef9421, 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 main at commit 38e544ef9421 on 2026-08-11T20:12:10.681607627+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: