google/googletest

google/googletest has 26,863 source lines of code out of 46,197 total lines across 100 files, counted from the main ref at commit b66cffcd5f5d by the OctoCounts tokei engine on 2026-10-14. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

google/googletest: 26,863 code lines at commit b66cffcd5f5d, counted with tokei-14.0.0 on 2026-10-14. Saved result a897ec213b324b10a1e9cca162269b6966d2dab3e3302382b555ab5da14003d0.

OctoCounts produced this report by resolving google/googletest to commit b66cffcd5f5d, 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 58.1% of all lines, comments represent 29.7%, and the repository averages 269 code lines per file. C Header accounts for 57.4% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C Header44286181541295543652
C++31151041026632721566
CMake4897539234124
Bazel654834614755
Shell22741817320
Batch189661013
Autoconf67353911
Markdown65940439155

Top language (C Header 57.4%). Generated at .

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does google/googletest have?

google/googletest has 46,197 total lines, including 26,863 code lines, 13,738 comment lines, and 5,596 blank lines.

How was the google/googletest line count measured?

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

What commit was counted for google/googletest?

This OctoCounts report was generated from main at commit b66cffcd5f5d on 2026-10-14T12:14:36.739361264Z.

Similar repository reports

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

Play the growth animation for google/googletest on this page — 26,863 code lines across 8 languages, counted by tokei.