# gradio-app/gradio SLOC report

> As of 2026-10-21 (commit 442ef45f37b3), gradio-app/gradio contains 342,411 total lines: 208,238 code, 71,015 comments, 63,158 blank, across 2,421 files in 18 languages (top: Python 36.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

gradio-app/gradio has 208,238 source lines of code out of 342,411 total lines across 2,421 files, counted from the main ref at commit 442ef45f37b3 by the OctoCounts tokei engine on 2026-10-21. 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 gradio-app/gradio to commit 442ef45f37b3, 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 60.8% of all lines, comments represent 20.7%, and the repository averages 86 code lines per file. Python accounts for 36.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 687 | 89,090 | 76,815 | 2,033 | 10,242 |
| TypeScript | 405 | 75,514 | 61,867 | 3,888 | 9,759 |
| Svelte | 596 | 32,215 | 30,614 | 172 | 1,429 |
| JSON | 135 | 14,350 | 14,348 | 0 | 2 |
| YAML | 3 | 15,462 | 12,487 | 0 | 2,975 |
| SVG | 96 | 4,543 | 4,504 | 20 | 19 |
| CSS | 20 | 4,784 | 4,277 | 83 | 424 |
| JavaScript | 39 | 2,413 | 1,994 | 205 | 214 |
| TOML | 3 | 320 | 274 | 9 | 37 |
| Jupyter Notebooks | 1 | 293 | 255 | 12 | 26 |
| Shell | 18 | 443 | 248 | 112 | 83 |
| HTML | 8 | 502 | 221 | 268 | 13 |

Top language (Python 36.9%). Generated at 2026-10-21T03:41:23.673476409+00:00. Canonical report: https://octocounts.com/github/gradio-app/gradio

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/gradio-app/gradio/commit/442ef45f37b3f4e220500679e95313418b473aa8?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&reportId=fa2322e42e2cace72f58423d00e755de518d5d4c128219aa93fe0e1f53a9bf11).

## Report FAQ

### How many lines of code does gradio-app/gradio have?

gradio-app/gradio has 342,411 total lines, including 208,238 code lines, 71,015 comment lines, and 63,158 blank lines.

### How was the gradio-app/gradio line count measured?

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

### What commit was counted for gradio-app/gradio?

This OctoCounts report was generated from main at commit 442ef45f37b3 on 2026-10-21T03:41:23.673476409+00:00.

## Similar repository reports

- [langchain-ai/langchain](https://octocounts.com/github/langchain-ai/langchain) — Python, 207,171 code lines
- [FlashML-org/FreeVideo](https://octocounts.com/github/FlashML-org/FreeVideo) — Python, 211,816 code lines
- [meta-pytorch/torchrec](https://octocounts.com/github/meta-pytorch/torchrec) — Python, 204,091 code lines
- [HKUDS/CLI-Anything](https://octocounts.com/github/HKUDS/CLI-Anything) — Python, 204,046 code lines
- [peach-mitao/peach](https://octocounts.com/github/peach-mitao/peach) — Python, 203,877 code lines
- [AstrBotDevs/AstrBot](https://octocounts.com/github/AstrBotDevs/AstrBot) — Python, 203,425 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)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [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)
