tensorflow/tensorflow SLOC report

As of 2026-09-07 (commit 01990a8ef1f8), tensorflow/tensorflow contains 6,771,326 total lines: 5,078,399 code, 949,226 comments, 743,701 blank, across 24,114 files in 39 languages (top: C++ 56.0%). Counted with tokei via OctoCounts.

As of 2026-09-07 (commit 01990a8ef1f8), tensorflow/tensorflow contains 6,771,326 total lines: 5,078,399 code, 949,226 comments, 743,701 blank, across 24,114 files in 39 languages (top: C++ 56.0%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving tensorflow/tensorflow to commit 01990a8ef1f8, 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 75.0% of all lines, comments represent 14.0%, and the repository averages 211 code lines per file. C++ accounts for 56.0% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++1043736143882842913384076387399
Python2979116463892955395906139179
C Header6297906134534787245761125586
Bazel16003852393331772831423748
HTML238340053320111307816864
Go416744131727319063808
Protocol Buffers3513754415502163075735
Pan76151691263413951140
Shell22917545954458032198
Java10918038929468261918
Objective-C++609852765210351165
Templ1067006700600

Top language (C++ 56.0%). Generated at 2026-09-07T08:24:51.004965320+00:00.

Report FAQ

How many lines of code does tensorflow/tensorflow have?

tensorflow/tensorflow has 6,771,326 total lines, including 5,078,399 code lines, 949,226 comment lines, and 743,701 blank lines.

How was the tensorflow/tensorflow line count measured?

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

What commit was counted for tensorflow/tensorflow?

This OctoCounts report was generated from master at commit 01990a8ef1f8 on 2026-09-07T08:24:51.004965320+00:00.

Similar repository reports

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