swc-project/swc SLOC report
As of 2026-06-15 (commit 53741c00bcc6), swc-project/swc contains 1,961,588 total lines: 1,596,319 code, 188,989 comments, 176,280 blank, across 1,903 files in 12 languages (top: JavaScript 43.9%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving swc-project/swc to commit 53741c00bcc6, 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 very large codebase by counted code lines. Code represents 81.4% of all lines, comments represent 9.6%, and the repository averages 839 code lines per file. JavaScript accounts for 43.9% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| JavaScript | 298 | 880311 | 700549 | 102111 | 77651 |
| TypeScript | 27 | 546219 | 437559 | 67581 | 41079 |
| Rust | 1120 | 372241 | 312368 | 15126 | 44747 |
| JSON | 92 | 73575 | 73465 | 0 | 110 |
| TSX | 4 | 31853 | 28095 | 615 | 3143 |
| CSS | 3 | 18542 | 15915 | 181 | 2446 |
| YAML | 6 | 16178 | 14579 | 8 | 1591 |
| HTML | 3 | 8858 | 8064 | 0 | 794 |
| TOML | 140 | 6066 | 4939 | 307 | 820 |
| Shell | 90 | 1357 | 786 | 249 | 322 |
| Markdown | 119 | 6367 | 0 | 2801 | 3566 |
| Plain Text | 1 | 21 | 0 | 10 | 11 |
Top language (JavaScript 43.9%). Generated at 2026-06-15T04:47:11.230331543+00:00.
Report FAQ
How many lines of code does swc-project/swc have?
swc-project/swc has 1,961,588 total lines, including 1,596,319 code lines, 188,989 comment lines, and 176,280 blank lines.
How was the swc-project/swc line count measured?
OctoCounts resolved the public GitHub repository to commit 53741c00bcc6, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for swc-project/swc?
This OctoCounts report was generated from main at commit 53741c00bcc6 on 2026-06-15T04:47:11.230331543+00:00.