# PrefectHQ/prefect SLOC report

> As of 2026-09-16 (commit 1d8b55eb6511), PrefectHQ/prefect contains 744,077 total lines: 650,507 code, 29,859 comments, 63,711 blank, across 3,095 files in 22 languages (top: Python 42.2%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

PrefectHQ/prefect has 650,507 source lines of code out of 744,077 total lines across 3,095 files, counted from the 1d8b55eb65110d16979fff3116c875710fb2caf6 ref at commit 1d8b55eb6511 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 PrefectHQ/prefect to commit 1d8b55eb6511, 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 87.4% of all lines, comments represent 4.0%, and the repository averages 210 code lines per file. Python accounts for 42.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 1,139 | 324,570 | 274,395 | 9,724 | 40,451 |
| JSON | 41 | 184,311 | 184,311 | 0 | 0 |
| TSX | 1,035 | 127,754 | 111,761 | 2,369 | 13,624 |
| TypeScript | 586 | 80,869 | 61,540 | 12,691 | 6,638 |
| YAML | 18 | 9,114 | 9,007 | 24 | 83 |
| SVG | 35 | 2,423 | 2,422 | 1 | 0 |
| CSS | 2 | 2,432 | 2,144 | 55 | 233 |
| TOML | 23 | 2,327 | 2,002 | 50 | 275 |
| Vue | 56 | 977 | 789 | 0 | 188 |
| Jinja2 | 4 | 605 | 530 | 1 | 74 |
| Just | 20 | 603 | 455 | 86 | 62 |
| JavaScript | 4 | 414 | 316 | 44 | 54 |

Top language (Python 42.2%). Generated at 2026-09-16T13:17:40.230645213+00:00. Canonical report: https://octocounts.com/github/PrefectHQ/prefect

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/PrefectHQ/prefect/commit/1d8b55eb65110d16979fff3116c875710fb2caf6?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 PrefectHQ/prefect have?

PrefectHQ/prefect has 744,077 total lines, including 650,507 code lines, 29,859 comment lines, and 63,711 blank lines.

### How was the PrefectHQ/prefect line count measured?

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

### What commit was counted for PrefectHQ/prefect?

This OctoCounts report was generated from 1d8b55eb65110d16979fff3116c875710fb2caf6 at commit 1d8b55eb6511 on 2026-09-16T13:17:40.230645213+00:00.

## Similar repository reports

- [volcengine/OpenViking](https://octocounts.com/github/volcengine/OpenViking) — Python, 624,279 code lines
- [Imbad0202/academic-research-skills-codex](https://octocounts.com/github/Imbad0202/academic-research-skills-codex) — Python, 588,905 code lines
- [rpi-nsl/CRANE](https://octocounts.com/github/rpi-nsl/CRANE) — Python, 719,730 code lines
- [huggingface/diffusers](https://octocounts.com/github/huggingface/diffusers) — Python, 723,760 code lines
- [sickn33/antigravity-awesome-skills](https://octocounts.com/github/sickn33/antigravity-awesome-skills) — Python, 736,445 code lines
- [vllm-project/vllm](https://octocounts.com/github/vllm-project/vllm) — Python, 751,628 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)
