# gradle/gradle SLOC report

> As of 2026-09-16 (commit 45f98545be7d), gradle/gradle contains 1,798,190 total lines: 1,187,703 code, 384,675 comments, 225,812 blank, across 15,333 files in 25 languages (top: Groovy 45.6%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

gradle/gradle has 1,187,703 source lines of code out of 1,798,190 total lines across 15,333 files, counted from the 45f98545be7d8c57a6070969df5eb80bea3b0834 ref at commit 45f98545be7d by the OctoCounts tokei engine on 2026-09-16. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving gradle/gradle to commit 45f98545be7d, 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 66.0% of all lines, comments represent 21.4%, and the repository averages 77 code lines per file. Groovy accounts for 45.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Groovy | 3,422 | 695,416 | 541,982 | 67,634 | 85,800 |
| Java | 10,167 | 900,875 | 516,982 | 270,356 | 113,537 |
| Kotlin | 1,397 | 156,645 | 105,731 | 28,644 | 22,270 |
| C Header | 26 | 20,390 | 13,587 | 4,798 | 2,005 |
| XML | 118 | 5,400 | 4,821 | 393 | 186 |
| JavaScript | 10 | 2,188 | 1,910 | 130 | 148 |
| JSON | 3 | 818 | 817 | 0 | 1 |
| CSS | 10 | 803 | 637 | 38 | 128 |
| TOML | 18 | 569 | 490 | 35 | 44 |
| XSL | 2 | 182 | 148 | 21 | 13 |
| PlantUML | 3 | 114 | 110 | 0 | 4 |
| Shell | 1 | 248 | 103 | 119 | 26 |

Top language (Groovy 45.6%). Generated at 2026-09-16T12:11:58.168966241+00:00. Canonical report: https://octocounts.com/github/gradle/gradle

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/gradle/gradle/commit/45f98545be7d8c57a6070969df5eb80bea3b0834?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does gradle/gradle have?

gradle/gradle has 1,798,190 total lines, including 1,187,703 code lines, 384,675 comment lines, and 225,812 blank lines.

### How was the gradle/gradle line count measured?

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

### What commit was counted for gradle/gradle?

This OctoCounts report was generated from 45f98545be7d8c57a6070969df5eb80bea3b0834 at commit 45f98545be7d on 2026-09-16T12:11:58.168966241+00:00.

## Similar repository reports

- [opensearch-project/OpenSearch](https://octocounts.com/github/opensearch-project/OpenSearch) — Java, 1,187,173 code lines
- [tinyhumansai/openhuman](https://octocounts.com/github/tinyhumansai/openhuman) — Rust, 1,193,871 code lines
- [block/buzz](https://octocounts.com/github/block/buzz) — Rust, 1,180,033 code lines
- [get-bb/bb](https://octocounts.com/github/get-bb/bb) — TypeScript, 1,178,911 code lines
- [Perl/perl5](https://octocounts.com/github/Perl/perl5) — Bitbake, 1,178,296 code lines
- [wxwidgets/wxwidgets](https://octocounts.com/github/wxwidgets/wxwidgets) — C++, 1,210,584 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
