# wagtail/wagtail SLOC report

> As of 2026-10-22 (commit 87e2488a2f03), wagtail/wagtail contains 513,691 total lines: 372,237 code, 45,486 comments, 95,968 blank, across 4,122 files in 21 languages (top: PO File 46.5%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

wagtail/wagtail has 372,237 source lines of code out of 513,691 total lines across 4,122 files, counted from the main ref at commit 87e2488a2f03 by the OctoCounts tokei engine on 2026-10-22. 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 wagtail/wagtail to commit 87e2488a2f03, 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 72.5% of all lines, comments represent 8.9%, and the repository averages 90 code lines per file. PO File accounts for 46.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| PO File | 1,025 | 264,764 | 173,221 | 25,673 | 65,870 |
| Python | 903 | 106,065 | 83,731 | 5,356 | 16,978 |
| JavaScript | 216 | 44,838 | 35,385 | 2,668 | 6,785 |
| JSON | 5 | 23,131 | 23,131 | 0 | 0 |
| Modelica | 1,067 | 19,576 | 19,525 | 30 | 21 |
| HTML | 431 | 11,444 | 10,525 | 7 | 912 |
| TypeScript | 98 | 14,368 | 9,240 | 3,517 | 1,611 |
| Sass | 133 | 11,103 | 8,539 | 803 | 1,761 |
| TSX | 65 | 9,453 | 8,043 | 422 | 988 |
| SVG | 133 | 203 | 202 | 1 | 0 |
| CSS | 3 | 201 | 169 | 0 | 32 |
| TOML | 2 | 199 | 157 | 27 | 15 |

Top language (PO File 46.5%). Generated at 2026-10-22T06:07:23.852390473+00:00. Canonical report: https://octocounts.com/github/wagtail/wagtail

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/wagtail/wagtail/commit/87e2488a2f035e39e64140af47dc3d4958d42010?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=5b601b5ba0bf04ac1ae30a196b38af887b7f1b8ab5048bdffd1ae3b72b41fbaa).

## Report FAQ

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

wagtail/wagtail has 513,691 total lines, including 372,237 code lines, 45,486 comment lines, and 95,968 blank lines.

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

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

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

This OctoCounts report was generated from main at commit 87e2488a2f03 on 2026-10-22T06:07:23.852390473+00:00.

## Similar repository reports

- [linuxmint/pix](https://octocounts.com/github/linuxmint/pix) — PO File, 394,129 code lines
- [KDE/dolphin](https://octocounts.com/github/KDE/dolphin) — PO File, 399,031 code lines
- [django/django](https://octocounts.com/github/django/django) — PO File, 405,688 code lines
- [frePPLe/frepple](https://octocounts.com/github/frePPLe/frepple) — PO File, 423,007 code lines
- [forkmirror/bash](https://octocounts.com/github/forkmirror/bash) — PO File, 317,995 code lines
- [gitGNU/gnu_bash](https://octocounts.com/github/gitGNU/gnu_bash) — PO File, 296,705 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)
