openssh/openssh-portable has 171,138 source lines of code out of 226,110 total lines across 643 files, counted with tokei from the master ref at commit e651bed9fa66 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
openssh/openssh-portable: 171,138 code lines at commit e651bed9fa66, counted with tokei-15.0.0 on 2026-11-16. Saved result 9ee52d02ad3577e0909cf81ab517aca370c9873168a32bc58e9244d720979883.
OctoCounts produced this report by resolving openssh/openssh-portable to commit e651bed9fa66, downloading the repository source archive, and counting files selected by the effective rules 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; an exact reproduction needs the same commit, engine version, and effective counting rules.
This is a large codebase by counted code lines. Code represents 75.7% of all lines, comments represent 14.3%, and the repository averages 266 code lines per file. C accounts for 72.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| C | 310 | 158187 | 123732 | 18581 | 15874 |
| C Header | 116 | 43162 | 28226 | 11297 | 3639 |
| Shell | 134 | 15689 | 11980 | 1729 | 1980 |
| C++ | 24 | 2331 | 1759 | 301 | 271 |
| Autoconf | 8 | 1963 | 1570 | 137 | 256 |
| RPM Specfile | 2 | 1065 | 847 | 38 | 180 |
| JSON | 2 | 810 | 810 | 0 | 0 |
| Makefile | 22 | 1023 | 771 | 53 | 199 |
| BASH | 2 | 970 | 713 | 164 | 93 |
| AWK | 1 | 378 | 349 | 22 | 7 |
| M4 | 1 | 232 | 197 | 30 | 5 |
| HTML | 1 | 91 | 90 | 0 | 1 |
| Bitbake | 13 | 110 | 89 | 4 | 17 |
| Prolog | 2 | 2 | 2 | 0 | 0 |
| Q | 2 | 2 | 2 | 0 | 0 |
| C Shell | 1 | 1 | 1 | 0 | 0 |
| Markdown | 2 | 94 | 0 | 62 | 32 |
Top language: C 72.3%. Generated on .
openssh/openssh-portable: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.
Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.
openssh/openssh-portable has 171,138 lines of code, plus 32,418 comment lines and 22,554 blank lines, for 226,110 total lines at commit e651bed9fa66 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit e651bed9fa66, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
This OctoCounts report was generated from master at commit e651bed9fa66 on November 16, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for openssh/openssh-portable on this page — 171,138 code lines across 17 languages, counted by tokei.