# openssh/openssh-portable SLOC report

> As of 2026-07-13 (commit cadefc724fe0), openssh/openssh-portable contains 217,430 total lines: 164,442 code, 31,223 comments, 21,765 blank, across 622 files in 17 languages (top: C 72.0%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving openssh/openssh-portable to commit cadefc724fe0, 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 75.6% of all lines, comments represent 14.4%, and the repository averages 264 code lines per file. C accounts for 72.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 302 | 151,397 | 118,403 | 17,688 | 15,306 |
| C Header | 116 | 43,126 | 28,212 | 11,281 | 3,633 |
| Shell | 133 | 15,283 | 11,648 | 1,708 | 1,927 |
| Autoconf | 8 | 1,962 | 1,569 | 137 | 256 |
| RPM Specfile | 2 | 1,065 | 847 | 38 | 180 |
| JSON | 2 | 810 | 810 | 0 | 0 |
| C++ | 12 | 933 | 773 | 36 | 124 |
| Makefile | 22 | 974 | 737 | 53 | 184 |
| BASH | 2 | 970 | 713 | 164 | 93 |
| AWK | 1 | 378 | 349 | 22 | 7 |
| M4 | 1 | 232 | 197 | 30 | 5 |
| HTML | 1 | 91 | 90 | 0 | 1 |

Top language (C 72.0%). Generated at 2026-07-13T01:38:49.063312388+00:00. Canonical report: https://octocounts.com/github/openssh/openssh-portable

## Report FAQ

### How many lines of code does openssh/openssh-portable have?

openssh/openssh-portable has 217,430 total lines, including 164,442 code lines, 31,223 comment lines, and 21,765 blank lines.

### How was the openssh/openssh-portable line count measured?

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

### What commit was counted for openssh/openssh-portable?

This OctoCounts report was generated from master at commit cadefc724fe0 on 2026-07-13T01:38:49.063312388+00:00.

## Similar repository reports

- [kingToolbox/WindTerm](https://octocounts.com/github/kingToolbox/WindTerm) — C, 165,596 code lines
- [mackron/miniaudio](https://octocounts.com/github/mackron/miniaudio) — C, 167,086 code lines
- [milescoviello/OS-DEV](https://octocounts.com/github/milescoviello/OS-DEV) — C, 168,629 code lines
- [SteamClientHomebrew/Millennium](https://octocounts.com/github/SteamClientHomebrew/Millennium) — C, 158,837 code lines
- [curl/curl](https://octocounts.com/github/curl/curl) — C, 177,514 code lines
- [unicorn-engine/unicorn](https://octocounts.com/github/unicorn-engine/unicorn) — C, 177,560 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)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [OctoCounts API docs](https://octocounts.com/docs/api)
