swc-project/swc has 1,618,754 source lines of code out of 1,988,647 total lines across 1,899 files, counted from the main ref at commit ee2cd8a10c1d by the OctoCounts tokei engine on 2026-10-22. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.
As of 2026-10-22 (commit ee2cd8a10c1d), swc-project/swc contains 1,988,647 total lines: 1,618,754 code, 190,894 comments, 178,999 blank, across 1,899 files in 13 languages (top: JavaScript 43.4%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving swc-project/swc to commit ee2cd8a10c1d, 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 852 code lines per file. JavaScript accounts for 43.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JavaScript | 220 | 881480 | 701819 | 101982 | 77679 |
| TypeScript | 33 | 551922 | 442646 | 67894 | 41382 |
| Rust | 1177 | 391118 | 328674 | 15865 | 46579 |
| JSON | 93 | 73584 | 73474 | 0 | 110 |
| TSX | 4 | 31853 | 28095 | 615 | 3143 |
| CSS | 3 | 18542 | 15915 | 181 | 2446 |
| YAML | 6 | 15855 | 14276 | 8 | 1571 |
| HTML | 3 | 8858 | 8064 | 0 | 794 |
| TOML | 142 | 6107 | 4956 | 313 | 838 |
| Shell | 92 | 1382 | 803 | 251 | 328 |
| Python | 1 | 38 | 32 | 3 | 3 |
| Markdown | 124 | 7887 | 0 | 3772 | 4115 |
Top language (JavaScript 43.4%). Generated at .
swc-project/swc has 1,988,647 total lines, including 1,618,754 code lines, 190,894 comment lines, and 178,999 blank lines.
OctoCounts resolved the public GitHub repository to commit ee2cd8a10c1d, 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 ee2cd8a10c1d on 2026-10-22T04:03:55.232535888+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for swc-project/swc on this page — 1,618,754 code lines across 12 languages, counted by tokei.