As of 2026-08-31 (commit e1d7d50f9c24), redis/redis contains 397,888 total lines: 278,898 code, 75,004 comments, 43,986 blank, across 1,194 files in 26 languages (top: C 68.2%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving redis/redis to commit e1d7d50f9c24, 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 70.1% of all lines, comments represent 18.9%, and the repository averages 234 code lines per file. C accounts for 68.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 291 | 273443 | 190235 | 52130 | 31078 |
| C Header | 283 | 53817 | 32755 | 14761 | 6301 |
| JSON | 460 | 29449 | 29440 | 0 | 9 |
| Module-Definition | 1 | 13107 | 10680 | 0 | 2427 |
| Autoconf | 16 | 7691 | 5555 | 1308 | 828 |
| Python | 13 | 2726 | 2154 | 152 | 420 |
| Shell | 46 | 3265 | 2098 | 849 | 318 |
| Makefile | 17 | 2924 | 1997 | 443 | 484 |
| Visual Studio Project | 4 | 1412 | 1412 | 0 | 0 |
| M4 | 1 | 951 | 659 | 74 | 218 |
| Ruby | 9 | 817 | 639 | 105 | 73 |
| C++ | 4 | 400 | 317 | 15 | 68 |
Top language (C 68.2%). Generated at 2026-08-31T09:51:07.234347923+00:00.
redis/redis has 397,888 total lines, including 278,898 code lines, 75,004 comment lines, and 43,986 blank lines.
OctoCounts resolved the public GitHub repository to commit e1d7d50f9c24, 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 unstable at commit e1d7d50f9c24 on 2026-08-31T09:51:07.234347923+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: