krahets/hello-algo has 359,409 source lines of code out of 570,495 total lines across 7,996 files, counted with tokei from the main ref at commit ded7ddc63514 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-15 (commit ded7ddc63514), krahets/hello-algo contains 570,495 total lines: 359,409 code, 141,644 comments, 69,442 blank, across 7,996 files in 29 languages (top language: Go 7.9%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving krahets/hello-algo to commit ded7ddc63514, 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 63.0% of all lines, comments represent 24.8%, and the repository averages 45 code lines per file. Go accounts for 7.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Go | 834 | 44010 | 28560 | 9900 | 5550 |
| C | 462 | 43254 | 28110 | 10032 | 5112 |
| Rust | 534 | 42208 | 27496 | 10074 | 4638 |
| Swift | 544 | 41526 | 26923 | 10335 | 4268 |
| C# | 528 | 39546 | 25530 | 9504 | 4512 |
| Java | 522 | 39816 | 25350 | 9582 | 4884 |
| Kotlin | 522 | 39054 | 24492 | 10002 | 4560 |
| C++ | 510 | 39162 | 24396 | 9912 | 4854 |
| Python | 534 | 35268 | 24336 | 5022 | 5910 |
| JavaScript | 525 | 38056 | 24093 | 9941 | 4022 |
| TypeScript | 510 | 38232 | 24060 | 9846 | 4326 |
| Dart | 522 | 38238 | 24006 | 10002 | 4230 |
Top language: Go 7.9%. Generated on .
krahets/hello-algo: 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.
krahets/hello-algo has 359,409 lines of code, plus 141,644 comment lines and 69,442 blank lines, for 570,495 total lines at commit ded7ddc63514 on November 15, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit ded7ddc63514, 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 main at commit ded7ddc63514 on November 15, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for krahets/hello-algo on this page — 359,409 code lines across 29 languages, counted by tokei.