# fish-shell/fish-shell SLOC report

> As of 2026-09-16 (commit 3db2321515cf), fish-shell/fish-shell contains 947,147 total lines: 658,752 code, 18,295 comments, 270,100 blank, across 1,858 files in 21 languages (top: PO File 74.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

fish-shell/fish-shell has 658,752 source lines of code out of 947,147 total lines across 1,858 files, counted from the 3db2321515cfe4e4c3edba9ce9702507f5db7549 ref at commit 3db2321515cf 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 fish-shell/fish-shell to commit 3db2321515cf, 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 69.6% of all lines, comments represent 1.9%, and the repository averages 355 code lines per file. PO File accounts for 74.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| PO File | 9 | 741,223 | 492,769 | 2,142 | 246,312 |
| Rust | 216 | 98,853 | 82,421 | 7,496 | 8,936 |
| Fish | 1,380 | 74,429 | 60,138 | 7,454 | 6,837 |
| ReStructuredText | 143 | 21,159 | 14,734 | 0 | 6,425 |
| Python | 7 | 4,397 | 3,444 | 407 | 546 |
| CSS | 4 | 1,641 | 1,307 | 83 | 251 |
| Shell | 22 | 1,501 | 1,081 | 181 | 239 |
| TOML | 26 | 669 | 566 | 29 | 74 |
| JavaScript | 3 | 668 | 556 | 41 | 71 |
| CMake | 9 | 624 | 463 | 57 | 104 |
| XML | 2 | 411 | 411 | 0 | 0 |
| HTML | 5 | 360 | 334 | 6 | 20 |

Top language (PO File 74.8%). Generated at 2026-09-16T05:20:30.159150417+00:00. Canonical report: https://octocounts.com/github/fish-shell/fish-shell

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/fish-shell/fish-shell/commit/3db2321515cfe4e4c3edba9ce9702507f5db7549?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 fish-shell/fish-shell have?

fish-shell/fish-shell has 947,147 total lines, including 658,752 code lines, 18,295 comment lines, and 270,100 blank lines.

### How was the fish-shell/fish-shell line count measured?

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

### What commit was counted for fish-shell/fish-shell?

This OctoCounts report was generated from 3db2321515cfe4e4c3edba9ce9702507f5db7549 at commit 3db2321515cf on 2026-09-16T05:20:30.159150417+00:00.

## Similar repository reports

- [guillemj/dpkg](https://octocounts.com/github/guillemj/dpkg) — PO File, 546,340 code lines
- [frePPLe/frepple](https://octocounts.com/github/frePPLe/frepple) — PO File, 401,670 code lines
- [blitzy-public-samples/frappe](https://octocounts.com/github/blitzy-public-samples/frappe) — PO File, 917,103 code lines
- [KDE/dolphin](https://octocounts.com/github/KDE/dolphin) — PO File, 394,208 code lines
- [django/django](https://octocounts.com/github/django/django) — PO File, 392,744 code lines
- [wagtail/wagtail](https://octocounts.com/github/wagtail/wagtail) — PO File, 365,770 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)
