bazelbuild/bazel has 195,189 source lines of code out of 344,224 total lines across 1,876 files, counted from the master ref at commit b353e093a7df 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.
As of 2026-10-22 (commit b353e093a7df), bazelbuild/bazel contains 344,224 total lines: 195,189 code, 102,624 comments, 46,411 blank, across 1,876 files in 28 languages (top: Java 65.6%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving bazelbuild/bazel to commit b353e093a7df, 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.
This is a large codebase by counted code lines. Code represents 56.7% of all lines, comments represent 29.8%, and the repository averages 104 code lines per file. Java accounts for 65.6% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Java | 1093 | 220467 | 127983 | 60428 | 32056 |
| C++ | 160 | 39335 | 29142 | 5858 | 4335 |
| Bazel | 273 | 20372 | 16234 | 2001 | 2137 |
| C Header | 82 | 9103 | 4626 | 3017 | 1460 |
| Shell | 63 | 7566 | 4552 | 2021 | 993 |
| JSON | 1 | 3213 | 3213 | 0 | 0 |
| Python | 38 | 4196 | 3101 | 526 | 569 |
| Protocol Buffers | 36 | 7013 | 2957 | 3025 | 1031 |
| Prolog | 12 | 1194 | 727 | 180 | 287 |
| XML | 20 | 971 | 661 | 132 | 178 |
| BASH | 2 | 855 | 506 | 288 | 61 |
| PowerShell | 7 | 498 | 374 | 65 | 59 |
Top language (Java 65.6%). Generated at .
bazelbuild/bazel has 344,224 total lines, including 195,189 code lines, 102,624 comment lines, and 46,411 blank lines.
OctoCounts resolved the public GitHub repository to commit b353e093a7df, 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 b353e093a7df on 2026-10-22T06:55:23.110616339+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for bazelbuild/bazel on this page — 195,189 code lines across 12 languages, counted by tokei.