As of 2026-07-15 (commit 579e6f76cffd), jqlang/jq contains 30,731 total lines: 24,028 code, 3,542 comments, 3,161 blank, across 77 files in 14 languages (top: C 83.6%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving jqlang/jq to commit 579e6f76cffd, 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 medium-sized codebase by counted code lines. Code represents 78.2% of all lines, comments represent 11.5%, and the repository averages 312 code lines per file. C accounts for 83.6% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 21 | 24511 | 20095 | 2049 | 2367 |
| C Header | 21 | 2321 | 1830 | 181 | 310 |
| Happy | 1 | 972 | 901 | 0 | 71 |
| M4 | 8 | 858 | 438 | 341 | 79 |
| jq | 1 | 244 | 212 | 19 | 13 |
| Automake | 1 | 260 | 174 | 34 | 52 |
| Lex | 1 | 192 | 158 | 9 | 25 |
| Shell | 3 | 162 | 110 | 19 | 33 |
| RPM Specfile | 1 | 69 | 51 | 6 | 12 |
| Dockerfile | 1 | 34 | 29 | 0 | 5 |
| Python | 1 | 31 | 20 | 2 | 9 |
| Autoconf | 1 | 11 | 10 | 0 | 1 |
Top language (C 83.6%). Generated at 2026-07-15T06:35:00.484142796+00:00.
jqlang/jq has 30,731 total lines, including 24,028 code lines, 3,542 comment lines, and 3,161 blank lines.
OctoCounts resolved the public GitHub repository to commit 579e6f76cffd, 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 579e6f76cffd on 2026-07-15T06:35:00.484142796+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: