postgres/postgres SLOC report

As of 2026-09-07 (commit f836b688f8dc), postgres/postgres contains 2,935,030 total lines: 1,635,202 code, 889,139 comments, 410,689 blank, across 4,141 files in 24 languages (top: C 59.4%). Counted with tokei via OctoCounts.

As of 2026-09-07 (commit f836b688f8dc), postgres/postgres contains 2,935,030 total lines: 1,635,202 code, 889,139 comments, 410,689 blank, across 4,141 files in 24 languages (top: C 59.4%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving postgres/postgres to commit f836b688f8dc, 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 very large codebase by counted code lines. Code represents 55.7% of all lines, comments represent 30.3%, and the repository averages 395 code lines per file. C accounts for 59.4% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C14071556085971690402129182266
PO File466966305409351372350184604
C Header10122060491196736750118875
SQL468584514286062609331
Perl194464243452760555842
Happy10283202526203058
Meson222132001015511981847
Makefile24610276661219111753
Lex139339575024081181
Snakemake22668266350
M41229381818850270
Shell2018711228415228

Top language (C 59.4%). Generated at 2026-09-07T08:25:16.022444313+00:00.

Report FAQ

How many lines of code does postgres/postgres have?

postgres/postgres has 2,935,030 total lines, including 1,635,202 code lines, 889,139 comment lines, and 410,689 blank lines.

How was the postgres/postgres line count measured?

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

What commit was counted for postgres/postgres?

This OctoCounts report was generated from master at commit f836b688f8dc on 2026-09-07T08:25:16.022444313+00:00.

Similar repository reports

Other public repositories with an OctoCounts report, ranked by top language and code size similarity: