# jackc/pgx SLOC report

> As of 2026-09-18 (commit 794073f58a7f), jackc/pgx contains 89,389 total lines: 67,733 code, 7,528 comments, 14,128 blank, across 363 files in 14 languages (top: Go 96.6%). Default configuration. Counted with tokei via OctoCounts.

jackc/pgx has 67,733 source lines of code out of 89,389 total lines across 363 files, counted from the master ref at commit 794073f58a7f by the OctoCounts tokei engine on 2026-09-18. 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 jackc/pgx to commit 794073f58a7f, 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 75.8% of all lines, comments represent 8.4%, and the repository averages 187 code lines per file. Go accounts for 96.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 314 | 84,268 | 65,459 | 5,589 | 13,220 |
| Ruby | 11 | 1,536 | 855 | 446 | 235 |
| Ruby HTML | 5 | 812 | 683 | 0 | 129 |
| Rakefile | 1 | 309 | 204 | 67 | 38 |
| BASH | 5 | 232 | 189 | 16 | 27 |
| YAML | 1 | 189 | 113 | 64 | 12 |
| TOML | 2 | 243 | 103 | 97 | 43 |
| Shell | 3 | 97 | 54 | 28 | 15 |
| SQL | 3 | 34 | 23 | 8 | 3 |
| C | 1 | 26 | 21 | 0 | 5 |
| INI | 1 | 22 | 17 | 0 | 5 |
| Makefile | 1 | 17 | 12 | 0 | 5 |

Top language (Go 96.6%). Generated at 2026-09-18T14:23:04.313678784+00:00. Canonical report: https://octocounts.com/github/jackc/pgx

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/jackc/pgx/commit/794073f58a7f36788f3dc8a76573faa062b9a580?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Atrue%2C%22includeTests%22%3Atrue%2C%22includeGenerated%22%3Atrue%7D).

## Report FAQ

### How many lines of code does jackc/pgx have?

jackc/pgx has 89,389 total lines, including 67,733 code lines, 7,528 comment lines, and 14,128 blank lines.

### How was the jackc/pgx line count measured?

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

### What commit was counted for jackc/pgx?

This OctoCounts report was generated from master at commit 794073f58a7f on 2026-09-18T14:23:04.313678784+00:00.

## Similar repository reports

- [songloft-org/songloft](https://octocounts.com/github/songloft-org/songloft) — Go, 67,688 code lines
- [CosmWasm/wasmd](https://octocounts.com/github/CosmWasm/wasmd) — Go, 68,119 code lines
- [Kodiqa-Solutions/VaultS3](https://octocounts.com/github/Kodiqa-Solutions/VaultS3) — Go, 68,326 code lines
- [fish2018/pansou](https://octocounts.com/github/fish2018/pansou) — Go, 64,907 code lines
- [Hypostasis-Cat/HypoMux](https://octocounts.com/github/Hypostasis-Cat/HypoMux) — Go, 63,336 code lines
- [ruijie-huachongwei/HiClaw](https://octocounts.com/github/ruijie-huachongwei/HiClaw) — Go, 63,320 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)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [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)
