nim-lang/Nim SLOC report
As of 2026-08-03 (commit bfeb3146d163), nim-lang/Nim contains 130,603 total lines: 86,232 code, 30,057 comments, 14,314 blank, across 323 files in 16 languages (top: Nim 91.8%). Counted with tokei via OctoCounts.
Repository size insights
This is a medium-sized codebase by counted code lines. Code represents 66.0% of all lines, comments represent 23.0%, and the repository averages 267 code lines per file. Nim accounts for 91.8% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| Nim | 251 | 116345 | 79137 | 25186 | 12022 |
| HTML | 11 | 3296 | 2828 | 55 | 413 |
| C Header | 6 | 1411 | 905 | 290 | 216 |
| CSS | 1 | 1141 | 902 | 33 | 206 |
| C | 1 | 1207 | 797 | 289 | 121 |
| Forge Config | 11 | 768 | 549 | 117 | 102 |
| ReStructuredText | 3 | 700 | 524 | 0 | 176 |
| GNU Style Assembly | 2 | 160 | 144 | 0 | 16 |
| ReScript | 6 | 130 | 126 | 0 | 4 |
| YAML | 1 | 172 | 120 | 23 | 29 |
| Shell | 2 | 164 | 111 | 36 | 17 |
| Batch | 3 | 69 | 59 | 0 | 10 |
Top language (Nim 91.8%). Generated at 2026-08-03T16:51:50.897223049+00:00.
Report FAQ
How many lines of code does nim-lang/Nim have?
nim-lang/Nim has 130,603 total lines, including 86,232 code lines, 30,057 comment lines, and 14,314 blank lines.
How was the nim-lang/Nim line count measured?
OctoCounts resolved the public GitHub repository to commit bfeb3146d163, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for nim-lang/Nim?
This OctoCounts report was generated from v2.2.10 at commit bfeb3146d163 on 2026-08-03T16:51:50.897223049+00:00.