# 2dust/v2rayNG SLOC report

> As of 2026-10-18 (commit 118cf5bc7d0b), 2dust/v2rayNG contains 39,143 total lines: 32,179 code, 3,408 comments, 3,556 blank, across 325 files in 10 languages (top: Kotlin 73.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

2dust/v2rayNG has 32,179 source lines of code out of 39,143 total lines across 325 files, counted from the master ref at commit 118cf5bc7d0b by the OctoCounts tokei engine on 2026-10-18. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving 2dust/v2rayNG to commit 118cf5bc7d0b, 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.

## Repository size insights

This is a medium-sized codebase by counted code lines. Code represents 82.2% of all lines, comments represent 8.7%, and the repository averages 99 code lines per file. Kotlin accounts for 73.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Kotlin | 189 | 29,241 | 23,714 | 2,834 | 2,693 |
| XML | 113 | 7,353 | 6,606 | 91 | 656 |
| HTML | 1 | 1,286 | 1,244 | 0 | 42 |
| JSON | 3 | 257 | 257 | 0 | 0 |
| Shell | 2 | 288 | 207 | 48 | 33 |
| Batch | 1 | 89 | 68 | 0 | 21 |
| TOML | 1 | 68 | 65 | 1 | 2 |
| Prolog | 1 | 21 | 18 | 0 | 3 |
| Markdown | 11 | 511 | 0 | 414 | 97 |
| Plain Text | 3 | 29 | 0 | 20 | 9 |

Top language (Kotlin 73.7%). Generated at 2026-10-18T22:06:58.847282113+00:00. Canonical report: https://octocounts.com/github/2dust/v2rayNG

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/2dust/v2rayNG/commit/118cf5bc7d0b290947b0827f5ad03e73018d8e5d?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=a3b565aeef96358697b7677168f63f0f40295232afea62ad2fcce78731440ab2).

## Report FAQ

### How many lines of code does 2dust/v2rayNG have?

2dust/v2rayNG has 39,143 total lines, including 32,179 code lines, 3,408 comment lines, and 3,556 blank lines.

### How was the 2dust/v2rayNG line count measured?

OctoCounts resolved the public GitHub repository to commit 118cf5bc7d0b, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for 2dust/v2rayNG?

This OctoCounts report was generated from master at commit 118cf5bc7d0b on 2026-10-18T22:06:58.847282113+00:00.

## Similar repository reports

- [YuKongA/Mishka](https://octocounts.com/github/YuKongA/Mishka) — Kotlin, 32,527 code lines
- [ItzHarshXD/Tunespark](https://octocounts.com/github/ItzHarshXD/Tunespark) — Kotlin, 32,547 code lines
- [aquamarine5/ChaoxingSignFaker](https://octocounts.com/github/aquamarine5/ChaoxingSignFaker) — Kotlin, 31,654 code lines
- [skydoves/nowinandroid-kmp](https://octocounts.com/github/skydoves/nowinandroid-kmp) — Kotlin, 32,725 code lines
- [SpaceNeuroX/proxy-turn-vk-android](https://octocounts.com/github/SpaceNeuroX/proxy-turn-vk-android) — Kotlin, 34,034 code lines
- [soranerai/vpnhide_next](https://octocounts.com/github/soranerai/vpnhide_next) — Kotlin, 30,344 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)
- [React Native vs Flutter](https://octocounts.com/compare/react-native-vs-flutter)
- [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)
