# asottile/pyupgrade SLOC report

> As of 2026-08-28 (commit b30a4772905b), asottile/pyupgrade contains 7,183 total lines: 5,229 code, 837 comments, 1,117 blank, across 62 files in 5 languages (top: Python 98.9%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

asottile/pyupgrade has 5,229 source lines of code out of 7,183 total lines across 62 files, counted from the main ref at commit b30a4772905b by the OctoCounts tokei engine on 2026-08-28. 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 asottile/pyupgrade to commit b30a4772905b, 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 small codebase by counted code lines. Code represents 72.8% of all lines, comments represent 11.7%, and the repository averages 84 code lines per file. Python accounts for 98.9% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 58 | 6,214 | 5,172 | 131 | 911 |
| Forge Config | 1 | 51 | 43 | 0 | 8 |
| INI | 1 | 17 | 14 | 0 | 3 |
| Markdown | 1 | 898 | 0 | 703 | 195 |
| Plain Text | 1 | 3 | 0 | 3 | 0 |

Top language (Python 98.9%). Generated at 2026-08-28T09:01:11.546174358+00:00. Canonical report: https://octocounts.com/github/asottile/pyupgrade

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/asottile/pyupgrade/commit/b30a4772905b633374a740b2467e90112153cb54?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 asottile/pyupgrade have?

asottile/pyupgrade has 7,183 total lines, including 5,229 code lines, 837 comment lines, and 1,117 blank lines.

### How was the asottile/pyupgrade line count measured?

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

### What commit was counted for asottile/pyupgrade?

This OctoCounts report was generated from main at commit b30a4772905b on 2026-08-28T09:01:11.546174358+00:00.

## Similar repository reports

- [mahmoud/glom](https://octocounts.com/github/mahmoud/glom) — Python, 5,239 code lines
- [mjun0812/flash-attention-prebuild-wheels](https://octocounts.com/github/mjun0812/flash-attention-prebuild-wheels) — Python, 5,260 code lines
- [Jasonleonardvolk/sigma-guard](https://octocounts.com/github/Jasonleonardvolk/sigma-guard) — Python, 5,261 code lines
- [yunwp/TV](https://octocounts.com/github/yunwp/TV) — Python, 5,280 code lines
- [psf/requests](https://octocounts.com/github/psf/requests) — Python, 5,288 code lines
- [grantjenks/python-diskcache](https://octocounts.com/github/grantjenks/python-diskcache) — Python, 5,155 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)
