# alibaba/nacos SLOC report

> alibaba/nacos: 508,937 code lines at commit f56069e9cef6, counted with tokei-15.0.0 on 2026-11-13. Saved result 4d9ca380edd746e02e149262f6ff7558301c1d6c4c6ea88a13d8451d01cae770.

alibaba/nacos has 508,937 source lines of code out of 845,961 total lines across 4,532 files, counted with tokei from the f56069e9cef63909f9e8f8c9d3bb93e2f34cd788 ref at commit f56069e9cef6 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving alibaba/nacos to commit f56069e9cef6, 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

alibaba/nacos: 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 large codebase by counted code lines. Code represents 60.2% of all lines, comments represent 29.4%, and the repository averages 112 code lines per file. Java accounts for 46.6% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 3,081 | 407,987 | 237,317 | 117,517 | 53,153 |
| JavaScript | 664 | 215,934 | 125,975 | 76,247 | 13,712 |
| JSON | 112 | 65,499 | 65,493 | 0 | 6 |
| TSX | 125 | 37,138 | 34,259 | 545 | 2,334 |
| CSS | 26 | 23,434 | 19,823 | 875 | 2,736 |
| XML | 73 | 9,898 | 7,979 | 1,276 | 643 |
| TypeScript | 84 | 9,553 | 7,767 | 748 | 1,038 |
| Sass | 49 | 7,142 | 5,498 | 729 | 915 |
| JSX | 6 | 1,478 | 1,347 | 54 | 77 |
| SQL | 12 | 1,939 | 1,295 | 473 | 171 |
| Protocol Buffers | 16 | 7,405 | 886 | 6,035 | 484 |
| Shell | 4 | 698 | 526 | 96 | 76 |
| Batch | 3 | 428 | 363 | 13 | 52 |
| SVG | 24 | 436 | 248 | 6 | 182 |
| HTML | 4 | 112 | 87 | 19 | 6 |
| Makefile | 1 | 132 | 70 | 38 | 24 |
| YAML | 1 | 4 | 4 | 0 | 0 |
| Markdown | 241 | 56,683 | 0 | 43,849 | 12,834 |
| Plain Text | 6 | 61 | 0 | 58 | 3 |

Top language: Java 46.6%. Generated on November 13, 2026. Canonical report: https://octocounts.com/github/alibaba/nacos/commit/f56069e9cef63909f9e8f8c9d3bb93e2f34cd788?reportId=4d9ca380edd746e02e149262f6ff7558301c1d6c4c6ea88a13d8451d01cae770&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/alibaba/nacos/commit/f56069e9cef63909f9e8f8c9d3bb93e2f34cd788?reportId=4d9ca380edd746e02e149262f6ff7558301c1d6c4c6ea88a13d8451d01cae770&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 alibaba/nacos have?

alibaba/nacos has 508,937 lines of code, plus 248,578 comment lines and 88,446 blank lines, for 845,961 total lines at commit f56069e9cef6 on November 13, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

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

OctoCounts resolved the public GitHub repository to commit f56069e9cef6, 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/nacos?

This OctoCounts report was generated from f56069e9cef63909f9e8f8c9d3bb93e2f34cd788 at commit f56069e9cef6 on November 13, 2026.

## Similar repository reports

- [apache/kafka](https://octocounts.com/github/apache/kafka) — Java, 489,315 code lines
- [libgdx/libgdx](https://octocounts.com/github/libgdx/libgdx) — Java, 542,356 code lines
- [SonarSource/sonarqube](https://octocounts.com/github/SonarSource/sonarqube) — Java, 474,918 code lines
- [apache/cassandra](https://octocounts.com/github/apache/cassandra) — Java, 545,786 code lines
- [apache/phoenix](https://octocounts.com/github/apache/phoenix) — Java, 474,090 code lines
- [apache/james-project](https://octocounts.com/github/apache/james-project) — Java, 473,441 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)
- [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)
