pgvector/pgvector has 12,002 source lines of code out of 19,178 total lines across 75 files, counted with tokei from the master ref at commit 7b3b811de223 on November 17, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-17 (commit 7b3b811de223), pgvector/pgvector contains 19,178 total lines: 12,002 code, 3,282 comments, 3,894 blank, across 75 files in 7 languages (top language: C 77.3%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving pgvector/pgvector to commit 7b3b811de223, 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.
This is a medium-sized codebase by counted code lines. Code represents 62.6% of all lines, comments represent 17.1%, and the repository averages 160 code lines per file. C accounts for 77.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 19 | 13744 | 9276 | 2119 | 2349 |
| SQL | 43 | 2336 | 1540 | 74 | 722 |
| C Header | 8 | 1436 | 1069 | 118 | 249 |
| JSON | 1 | 49 | 49 | 0 | 0 |
| Makefile | 1 | 86 | 49 | 14 | 23 |
| Dockerfile | 1 | 23 | 19 | 1 | 3 |
| Markdown | 2 | 1504 | 0 | 956 | 548 |
Top language: C 77.3%. Generated on .
pgvector/pgvector: 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.
pgvector/pgvector has 12,002 lines of code, plus 3,282 comment lines and 3,894 blank lines, for 19,178 total lines at commit 7b3b811de223 on November 17, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit 7b3b811de223, 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 7b3b811de223 on November 17, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for pgvector/pgvector on this page — 12,002 code lines across 7 languages, counted by tokei.