# gradio-app/gradio SLOC report

> As of 2026-11-13 (commit ec06278ed72e), gradio-app/gradio contains 344,765 total lines: 209,389 code, 71,722 comments, 63,654 blank, across 2,429 files in 18 languages (top language: Python 36.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.

gradio-app/gradio has 209,389 source lines of code out of 344,765 total lines across 2,429 files, counted with tokei from the main ref at commit ec06278ed72e on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving gradio-app/gradio to commit ec06278ed72e, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

gradio-app/gradio: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a large codebase by counted code lines. Code represents 60.7% of all lines, comments represent 20.8%, and the repository averages 86 code lines per file. Python accounts for 36.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 688 | 89,565 | 77,215 | 2,061 | 10,289 |
| TypeScript | 413 | 76,771 | 62,938 | 3,964 | 9,869 |
| Svelte | 595 | 31,879 | 30,286 | 171 | 1,422 |
| JSON | 135 | 14,353 | 14,351 | 0 | 2 |
| YAML | 3 | 15,465 | 12,490 | 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 | 325 | 276 | 11 | 38 |
| 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 on November 13, 2026. 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/ec06278ed72e5eb73494a9d171ca851d553dc82a?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=48aa12606af15756b2a41ff11f1d33bf0c40a92477d93f8c910c03324af45331).

## Report FAQ

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

gradio-app/gradio has 209,389 lines of code, plus 71,722 comment lines and 63,654 blank lines, for 344,765 total lines at commit ec06278ed72e on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit ec06278ed72e, 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 ec06278ed72e on November 13, 2026.

## Similar repository reports

- [tradermonty/claude-trading-skills](https://octocounts.com/github/tradermonty/claude-trading-skills) — Python, 209,172 code lines
- [meta-pytorch/torchrec](https://octocounts.com/github/meta-pytorch/torchrec) — Python, 209,099 code lines
- [NVIDIA/SkillEvaluator](https://octocounts.com/github/NVIDIA/SkillEvaluator) — Python, 209,764 code lines
- [langchain-ai/langchain](https://octocounts.com/github/langchain-ai/langchain) — Python, 208,943 code lines
- [bytedance/axion1_0](https://octocounts.com/github/bytedance/axion1_0) — Python, 210,240 code lines
- [OICWS/Coscribe](https://octocounts.com/github/OICWS/Coscribe) — Python, 211,983 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)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [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)
- [All OctoCounts guides](https://octocounts.com/docs)
