carbon-language/carbon-lang

carbon-language/carbon-lang has 163,350 source lines of code out of 296,579 total lines across 1,168 files, counted from the trunk ref at commit ebc155734546 by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

carbon-language/carbon-lang: 163,350 code lines at commit ebc155734546, counted with tokei-14.0.0 on 2026-10-22. Saved result 7c1820f383054aa8f427735e2ae602bf0e7ce0c83a1b55ca54dcc24591ec2c39.

OctoCounts produced this report by resolving carbon-language/carbon-lang to commit ebc155734546, 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 large codebase by counted code lines. Code represents 55.1% of all lines, comments represent 31.0%, and the repository averages 140 code lines per file. C++ accounts for 63.9% of counted code.

LanguageFilesLinesCodeCommentsBlanks
C++4271400601044192006015581
C Header3145518028683178868611
Bazel9111861974610811034
Python54926972987271244
JSON76617661700
Module-Definition10399136240367
JavaScript4133212039732
SVG10543530130
TypeScript13452733834
Shell73621979768
Scheme11811591111
C11801283814
Vim Script313712764
HTML3131862619
Templ389383516
Happy14734013
Sass261311911
TOML1392838
Lua1382774
BASH14123135
YAML1352078
Fish13719162
Zsh13317115
Lex1251654
Makefile111632
Autoconf16141
Markdown2186578605145914327
Plain Text214201411

Top language (C++ 63.9%). Generated at .

Reproduce this report

Reproduce this exact report and configuration.

Report FAQ

How many lines of code does carbon-language/carbon-lang have?

carbon-language/carbon-lang has 296,579 total lines, including 163,350 code lines, 91,803 comment lines, and 41,426 blank lines.

How was the carbon-language/carbon-lang line count measured?

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

What commit was counted for carbon-language/carbon-lang?

This OctoCounts report was generated from trunk at commit ebc155734546 on 2026-10-22T04:43:52.605889557Z.

Similar repository reports

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

Play the growth animation for carbon-language/carbon-lang on this page — 163,350 code lines across 28 languages, counted by tokei.