# apache/pulsar SLOC report

> apache/pulsar: 411,737 code lines at commit a297950cac20, counted with tokei-15.0.0 on 2026-11-20. Saved result d49b02df38df5e0e93153c63871d305afae88100628ce84e0143a72cca76bf3f.

apache/pulsar has 411,737 source lines of code out of 670,664 total lines across 3,633 files, counted with tokei from the master ref at commit a297950cac20 on November 20, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving apache/pulsar to commit a297950cac20, 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

apache/pulsar: 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 61.4% of all lines, comments represent 27.6%, and the repository averages 113 code lines per file. Java accounts for 89.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 2,912 | 564,635 | 369,457 | 139,767 | 55,411 |
| JSON | 20 | 18,813 | 18,813 | 0 | 0 |
| Go | 40 | 8,705 | 6,436 | 1,233 | 1,036 |
| Kotlin | 108 | 9,159 | 5,203 | 3,255 | 701 |
| Python | 38 | 4,289 | 2,912 | 823 | 554 |
| XML | 34 | 3,641 | 2,689 | 849 | 103 |
| Protocol Buffers | 13 | 2,521 | 1,769 | 354 | 398 |
| Shell | 31 | 2,728 | 1,383 | 1,026 | 319 |
| BASH | 8 | 1,525 | 964 | 406 | 155 |
| YAML | 18 | 1,803 | 889 | 779 | 135 |
| TOML | 1 | 557 | 423 | 132 | 2 |
| Batch | 6 | 387 | 290 | 56 | 41 |
| HCL | 9 | 484 | 258 | 168 | 58 |
| Dockerfile | 1 | 240 | 132 | 78 | 30 |
| Lua | 1 | 77 | 45 | 29 | 3 |
| INI | 2 | 82 | 34 | 36 | 12 |
| Forge Config | 2 | 87 | 20 | 60 | 7 |
| JavaScript | 1 | 33 | 10 | 23 | 0 |
| HTML | 1 | 29 | 9 | 20 | 0 |
| SVG | 1 | 1 | 1 | 0 | 0 |
| Markdown | 356 | 47,276 | 0 | 33,010 | 14,266 |
| Plain Text | 30 | 3,592 | 0 | 2,981 | 611 |

Top language: Java 89.7%. Generated on November 20, 2026. Canonical report: https://octocounts.com/github/apache/pulsar/commit/a297950cac20e0e016c8d23a5512f09019677791?reportId=d49b02df38df5e0e93153c63871d305afae88100628ce84e0143a72cca76bf3f&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/apache/pulsar/commit/a297950cac20e0e016c8d23a5512f09019677791?reportId=d49b02df38df5e0e93153c63871d305afae88100628ce84e0143a72cca76bf3f&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 apache/pulsar have?

apache/pulsar has 411,737 lines of code, plus 185,085 comment lines and 73,842 blank lines, for 670,664 total lines at commit a297950cac20 on November 20, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the apache/pulsar line count measured?

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

### What commit was counted for apache/pulsar?

This OctoCounts report was generated from master at commit a297950cac20 on November 20, 2026.

## Similar repository reports

- [Creators-of-Create/Create](https://octocounts.com/github/Creators-of-Create/Create) — Java, 400,405 code lines
- [blitzy-public-samples/dhis2-core](https://octocounts.com/github/blitzy-public-samples/dhis2-core) — Java, 431,615 code lines
- [wimi321/lizzieyzy-next](https://octocounts.com/github/wimi321/lizzieyzy-next) — Java, 392,094 code lines
- [TestPQC-SonarQube/ejbca-ce](https://octocounts.com/github/TestPQC-SonarQube/ejbca-ce) — Java, 437,872 code lines
- [wildfly/wildfly](https://octocounts.com/github/wildfly/wildfly) — Java, 383,735 code lines
- [apache/cxf](https://octocounts.com/github/apache/cxf) — Java, 443,759 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)
