xtls/xray-core SLOC report
As of 2026-05-09 (commit eb32d166af71), xtls/xray-core contains 143,273 total lines: 119,395 code, 6,131 comments, 17,747 blank, across 976 files in 6 languages (top: Go 98.3%). Counted with tokei via OctoCounts.
Repository size insights
This is a large codebase by counted code lines. Code represents 83.3% of all lines, comments represent 4.3%, and the repository averages 122 code lines per file. Go accounts for 98.3% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| Go | 887 | 139903 | 117355 | 5466 | 17082 |
| Protocol Buffers | 81 | 2632 | 1926 | 195 | 511 |
| BASH | 2 | 88 | 65 | 5 | 18 |
| GNU Style Assembly | 1 | 47 | 38 | 2 | 7 |
| HTML | 1 | 11 | 11 | 0 | 0 |
| Markdown | 4 | 592 | 0 | 463 | 129 |
Top language (Go 98.3%). Generated at 2026-05-09T13:43:41.091337059+00:00.
Report FAQ
How many lines of code does xtls/xray-core have?
xtls/xray-core has 143,273 total lines, including 119,395 code lines, 6,131 comment lines, and 17,747 blank lines.
How was the xtls/xray-core line count measured?
OctoCounts resolved the public GitHub repository to commit eb32d166af71, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.
What commit was counted for xtls/xray-core?
This OctoCounts report was generated from main at commit eb32d166af71 on 2026-05-09T13:43:41.091337059+00:00.