# swc-project/swc SLOC report

> swc-project/swc: 1,619,644 code lines at commit 06ee4346efa5, counted with tokei-15.0.0 on 2026-11-16. Saved result 202f57854a647dd6230fb2596ed3ab0c4679e1be819d035e6df8a44b40d03513.

swc-project/swc has 1,619,644 source lines of code out of 1,991,549 total lines across 1,928 files, counted with tokei from the main ref at commit 06ee4346efa5 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving swc-project/swc to commit 06ee4346efa5, 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.

## 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.

## 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 840 code lines per file. JavaScript accounts for 43.4% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| JavaScript | 225 | 882,136 | 702,387 | 101,997 | 77,752 |
| TypeScript | 33 | 551,922 | 442,646 | 67,894 | 41,382 |
| Rust | 1,202 | 394,565 | 331,449 | 16,169 | 46,947 |
| JSON | 93 | 73,584 | 73,474 | 0 | 110 |
| TSX | 4 | 31,853 | 28,095 | 615 | 3,143 |
| CSS | 3 | 18,542 | 15,915 | 181 | 2,446 |
| YAML | 6 | 14,999 | 11,811 | 8 | 3,180 |
| HTML | 3 | 8,858 | 8,064 | 0 | 794 |
| TOML | 142 | 6,131 | 4,975 | 318 | 838 |
| Shell | 92 | 1,375 | 796 | 253 | 326 |
| Python | 1 | 38 | 32 | 3 | 3 |
| Markdown | 123 | 7,525 | 0 | 3,608 | 3,917 |
| Plain Text | 1 | 21 | 0 | 10 | 11 |

Top language: JavaScript 43.4%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/swc-project/swc/commit/06ee4346efa52b2d80bdb99e48101830e17376df?reportId=202f57854a647dd6230fb2596ed3ab0c4679e1be819d035e6df8a44b40d03513&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/swc-project/swc/commit/06ee4346efa52b2d80bdb99e48101830e17376df?reportId=202f57854a647dd6230fb2596ed3ab0c4679e1be819d035e6df8a44b40d03513&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does swc-project/swc have?

swc-project/swc has 1,619,644 lines of code, plus 191,056 comment lines and 180,849 blank lines, for 1,991,549 total lines at commit 06ee4346efa5 on November 16, 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 06ee4346efa5, 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 06ee4346efa5 on November 16, 2026.

## Similar repository reports

- [highcharts/highcharts](https://octocounts.com/github/highcharts/highcharts) — JavaScript, 1,794,761 code lines
- [JimLiu/open-artifacts](https://octocounts.com/github/JimLiu/open-artifacts) — JavaScript, 1,455,897 code lines
- [Orkas-AI/Orkas](https://octocounts.com/github/Orkas-AI/Orkas) — JavaScript, 1,441,649 code lines
- [usmannasir/cyberpanel](https://octocounts.com/github/usmannasir/cyberpanel) — JavaScript, 1,400,337 code lines
- [hospital-management-system-emr/hospital-management-system-emr-opensource](https://octocounts.com/github/hospital-management-system-emr/hospital-management-system-emr-opensource) — JavaScript, 1,921,741 code lines
- [microsoft/TypeScript](https://octocounts.com/github/microsoft/TypeScript) — JavaScript, 1,353,159 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [esbuild vs SWC](https://octocounts.com/compare/esbuild-vs-swc)
- [React vs Vue](https://octocounts.com/compare/react-vs-vue)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Vite vs webpack](https://octocounts.com/compare/vite-vs-webpack)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
