# jqlang/jq SLOC report

> As of 2026-09-16 (commit 1b4109b0d002), jqlang/jq contains 30,750 total lines: 24,042 code, 3,547 comments, 3,161 blank, across 77 files in 14 languages (top: C 83.6%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

jqlang/jq has 24,042 source lines of code out of 30,750 total lines across 77 files, counted from the 1b4109b0d00236763acd55435ed21b569f555546 ref at commit 1b4109b0d002 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 jqlang/jq to commit 1b4109b0d002, 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 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 | 24,528 | 20,109 | 2,052 | 2,367 |
| C Header | 21 | 2,321 | 1,830 | 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-09-16T19:19:32.340336404+00:00. Canonical report: https://octocounts.com/github/jqlang/jq

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/jqlang/jq/commit/1b4109b0d00236763acd55435ed21b569f555546?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does jqlang/jq have?

jqlang/jq has 30,750 total lines, including 24,042 code lines, 3,547 comment lines, and 3,161 blank lines.

### How was the jqlang/jq line count measured?

OctoCounts resolved the public GitHub repository to commit 1b4109b0d002, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for jqlang/jq?

This OctoCounts report was generated from 1b4109b0d00236763acd55435ed21b569f555546 at commit 1b4109b0d002 on 2026-09-16T19:19:32.340336404+00:00.

## Similar repository reports

- [ijl/orjson](https://octocounts.com/github/ijl/orjson) — C, 24,057 code lines
- [microsoft/mimalloc](https://octocounts.com/github/microsoft/mimalloc) — C, 23,954 code lines
- [aubio/aubio](https://octocounts.com/github/aubio/aubio) — C, 23,852 code lines
- [file/file](https://octocounts.com/github/file/file) — C, 23,581 code lines
- [mirror/tar](https://octocounts.com/github/mirror/tar) — C, 23,508 code lines
- [antirez/h3.c](https://octocounts.com/github/antirez/h3.c) — C, 25,096 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)
