As of 2026-08-26 (commit 7a29dc74221e), swc-project/swc contains 1,976,242 total lines: 1,608,773 code, 189,696 comments, 177,773 blank, across 1,828 files in 12 languages (top: JavaScript 43.4%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving swc-project/swc to commit 7a29dc74221e, 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.
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 880 code lines per file. JavaScript accounts for 43.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JavaScript | 195 | 878321 | 698864 | 101906 | 77551 |
| TypeScript | 32 | 551908 | 442634 | 67892 | 41382 |
| Rust | 1138 | 382775 | 321459 | 15369 | 45947 |
| JSON | 93 | 73581 | 73471 | 0 | 110 |
| TSX | 4 | 31853 | 28095 | 615 | 3143 |
| CSS | 3 | 18542 | 15915 | 181 | 2446 |
| YAML | 6 | 16182 | 14582 | 8 | 1592 |
| HTML | 3 | 8858 | 8064 | 0 | 794 |
| TOML | 139 | 6008 | 4886 | 303 | 819 |
| Shell | 92 | 1382 | 803 | 251 | 328 |
| Markdown | 122 | 6811 | 0 | 3161 | 3650 |
| Plain Text | 1 | 21 | 0 | 10 | 11 |
Top language (JavaScript 43.4%). Generated at 2026-08-26T18:14:25.834569844+00:00.
swc-project/swc has 1,976,242 total lines, including 1,608,773 code lines, 189,696 comment lines, and 177,773 blank lines.
OctoCounts resolved the public GitHub repository to commit 7a29dc74221e, 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 7a29dc74221e on 2026-08-26T18:14:25.834569844+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: