donnemartin/system-design-primer has 1,188 source lines of code out of 13,911 total lines across 57 files, counted with tokei from the master ref at commit ae9bbd7b02d9 on November 1, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
As of 2026-11-01 (commit ae9bbd7b02d9), donnemartin/system-design-primer contains 13,911 total lines: 1,188 code, 8,575 comments, 4,148 blank, across 57 files in 6 languages (top language: Python 64.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving donnemartin/system-design-primer to commit ae9bbd7b02d9, 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 small codebase by counted code lines. Code represents 8.5% of all lines, comments represent 61.6%, and the repository averages 21 code lines per file. Python accounts for 64.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Python | 26 | 1062 | 763 | 20 | 279 |
| Jupyter Notebooks | 6 | 636 | 384 | 97 | 155 |
| Shell | 1 | 54 | 38 | 2 | 14 |
| YAML | 1 | 3 | 3 | 0 | 0 |
| Markdown | 22 | 12147 | 0 | 8450 | 3697 |
| Plain Text | 1 | 9 | 0 | 6 | 3 |
Top language: Python 64.2%. Generated on .
donnemartin/system-design-primer: 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.
donnemartin/system-design-primer has 1,188 lines of code, plus 8,575 comment lines and 4,148 blank lines, for 13,911 total lines at commit ae9bbd7b02d9 on November 1, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
OctoCounts resolved the public GitHub repository to commit ae9bbd7b02d9, 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 ae9bbd7b02d9 on November 1, 2026.
Play the growth animation for donnemartin/system-design-primer on this page — 1,188 code lines across 6 languages, counted by tokei.