As of 2026-07-18 (commit f68fd88fa635), alibaba/fastjson2 contains 244,065 total lines: 198,060 code, 20,901 comments, 25,104 blank, across 974 files in 12 languages (top: Java 94.4%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving alibaba/fastjson2 to commit f68fd88fa635, 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 large codebase by counted code lines. Code represents 81.2% of all lines, comments represent 8.6%, and the repository averages 203 code lines per file. Java accounts for 94.4% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|---|---|---|---|---|
| Java | 869 | 230318 | 186969 | 19057 | 24292 |
| JSON | 42 | 5740 | 5739 | 0 | 1 |
| XML | 33 | 4667 | 4242 | 220 | 205 |
| Kotlin | 9 | 987 | 326 | 582 | 79 |
| Shell | 2 | 444 | 311 | 86 | 47 |
| Batch | 2 | 238 | 202 | 0 | 36 |
| YAML | 2 | 124 | 86 | 34 | 4 |
| Prolog | 2 | 62 | 55 | 0 | 7 |
| HTML | 2 | 52 | 50 | 0 | 2 |
| BASH | 1 | 69 | 43 | 12 | 14 |
| Protocol Buffers | 1 | 43 | 37 | 1 | 5 |
| Markdown | 9 | 1321 | 0 | 909 | 412 |
Top language (Java 94.4%). Generated at 2026-07-18T07:45:15.914980505+00:00.
alibaba/fastjson2 has 244,065 total lines, including 198,060 code lines, 20,901 comment lines, and 25,104 blank lines.
OctoCounts resolved the public GitHub repository to commit f68fd88fa635, 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 f68fd88fa635 on 2026-07-18T07:45:15.914980505+00:00.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity: