# jackc/pgx SLOC report

> jackc/pgx: 73,002 code lines at commit 0b03cad2fa5a, counted with tokei-15.0.0 on 2026-11-16. Saved result 3355dc427a3a8e165c442447d072f7ac8b211db2d184db98a9dd41644a34f7ca.

jackc/pgx has 73,002 source lines of code out of 95,605 total lines across 374 files, counted with tokei from the master ref at commit 0b03cad2fa5a on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving jackc/pgx to commit 0b03cad2fa5a, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

jackc/pgx: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a medium-sized codebase by counted code lines. Code represents 76.4% of all lines, comments represent 8.3%, and the repository averages 195 code lines per file. Go accounts for 96.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 324 | 90,290 | 70,682 | 5,899 | 13,709 |
| 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 |
| Python | 1 | 52 | 46 | 0 | 6 |
| SQL | 3 | 34 | 23 | 8 | 3 |
| C | 1 | 26 | 21 | 0 | 5 |
| INI | 1 | 22 | 17 | 0 | 5 |
| Makefile | 1 | 17 | 12 | 0 | 5 |
| Markdown | 14 | 1,745 | 0 | 1,329 | 416 |
| Plain Text | 1 | 1 | 0 | 1 | 0 |

Top language: Go 96.8%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/jackc/pgx/commit/0b03cad2fa5ad809c70a64b6f6106fa7f06c0143?reportId=3355dc427a3a8e165c442447d072f7ac8b211db2d184db98a9dd41644a34f7ca&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

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

## Report FAQ

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

jackc/pgx has 73,002 lines of code, plus 7,955 comment lines and 14,648 blank lines, for 95,605 total lines at commit 0b03cad2fa5a on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit 0b03cad2fa5a, 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 0b03cad2fa5a on November 16, 2026.

## Similar repository reports

- [qax-os/excelize](https://octocounts.com/github/qax-os/excelize) — Go, 72,516 code lines
- [Busnes-app/KyQuickStart](https://octocounts.com/github/Busnes-app/KyQuickStart) — Go, 72,413 code lines
- [DrWhax/unfairplay](https://octocounts.com/github/DrWhax/unfairplay) — Go, 72,339 code lines
- [dokku/dokku](https://octocounts.com/github/dokku/dokku) — Go, 73,705 code lines
- [stupside/castor](https://octocounts.com/github/stupside/castor) — Go, 73,851 code lines
- [IBM/sarama](https://octocounts.com/github/IBM/sarama) — Go, 76,250 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)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
