swc-project/swc
swc-project/swc has 1,624,603 source lines of code out of 1,998,250 total lines across 1,943 files, counted with tokei from the main ref at commit 5eca8ae195c8 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
swc-project/swc: 1,624,603 code lines at commit 5eca8ae195c8, counted with tokei-15.0.0 on 2026-11-24. Saved result 97322395c928b8b9f272f088810e632ea11bdb164d83c6b23a9c4ad9a85b176f.
Source: swc-project/swc on GitHub · counted commit 5eca8ae195c8
OctoCounts produced this report by resolving swc-project/swc to commit 5eca8ae195c8, 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.
Repository size insights
This is a very large codebase by counted code lines. Code represents 81.3% of all lines, comments represent 9.6%, and the repository averages 836 code lines per file. JavaScript accounts for 43.2% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| JavaScript | 225 | 882136 | 702387 | 101997 | 77752 |
| TypeScript | 33 | 551975 | 442665 | 67925 | 41385 |
| Rust | 1217 | 399887 | 335014 | 17568 | 47305 |
| JSON | 93 | 75084 | 74974 | 0 | 110 |
| TSX | 4 | 31853 | 28095 | 615 | 3143 |
| CSS | 3 | 18542 | 15915 | 181 | 2446 |
| YAML | 6 | 14651 | 11560 | 8 | 3083 |
| HTML | 3 | 8858 | 8064 | 0 | 794 |
| TOML | 142 | 6265 | 5101 | 323 | 841 |
| Shell | 92 | 1375 | 796 | 253 | 326 |
| Python | 1 | 38 | 32 | 3 | 3 |
| Markdown | 123 | 7565 | 0 | 3639 | 3926 |
| Plain Text | 1 | 21 | 0 | 10 | 11 |
Top language: JavaScript 43.2%. Generated on .
Counting rules and retention
swc-project/swc: 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.
Reproduce this report
Report FAQ
How many lines of code does swc-project/swc have?
swc-project/swc has 1,624,603 lines of code, plus 192,522 comment lines and 181,125 blank lines, for 1,998,250 total lines at commit 5eca8ae195c8 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.
How was the swc-project/swc line count measured?
OctoCounts resolved the public GitHub repository to commit 5eca8ae195c8, 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 5eca8ae195c8 on November 24, 2026.
Play the growth animation for swc-project/swc on this page — 1,624,603 code lines across 13 languages, counted by tokei.