# alibaba/fastjson2 SLOC report

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

## Repository size insights

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 | 230,318 | 186,969 | 19,057 | 24,292 |
| JSON | 42 | 5,740 | 5,739 | 0 | 1 |
| XML | 33 | 4,667 | 4,242 | 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 | 1,321 | 0 | 909 | 412 |

Top language (Java 94.4%). Generated at 2026-07-18T07:45:15.914980505+00:00. Canonical report: https://octocounts.com/github/alibaba/fastjson2

## Report FAQ

### How many lines of code does alibaba/fastjson2 have?

alibaba/fastjson2 has 244,065 total lines, including 198,060 code lines, 20,901 comment lines, and 25,104 blank lines.

### How was the alibaba/fastjson2 line count measured?

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.

### What commit was counted for alibaba/fastjson2?

This OctoCounts report was generated from main at commit f68fd88fa635 on 2026-07-18T07:45:15.914980505+00:00.

## Similar repository reports

- [frankframework/frankframework](https://octocounts.com/github/frankframework/frankframework) — Java, 195,750 code lines
- [anonfaded/FadCam](https://octocounts.com/github/anonfaded/FadCam) — Java, 189,228 code lines
- [zhukunpenglinyutong/jetbrains-cc-gui](https://octocounts.com/github/zhukunpenglinyutong/jetbrains-cc-gui) — Java, 172,090 code lines
- [micronaut-projects/micronaut-core](https://octocounts.com/github/micronaut-projects/micronaut-core) — Java, 227,509 code lines
- [google/ExoPlayer](https://octocounts.com/github/google/ExoPlayer) — Java, 236,475 code lines
- [spring-projects/spring-boot](https://octocounts.com/github/spring-projects/spring-boot) — Java, 244,527 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)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [Kubernetes vs Docker Compose](https://octocounts.com/compare/kubernetes-vs-docker-compose)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [OctoCounts API docs](https://octocounts.com/docs/api)
