# apache/Pulsar SLOC report

> As of 2026-09-16 (commit ab58ba480b2c), apache/Pulsar contains 1,155,915 total lines: 778,641 code, 241,107 comments, 136,167 blank, across 5,493 files in 21 languages (top: Java 94.5%). Default configuration. Counted with tokei via OctoCounts.

apache/Pulsar has 778,641 source lines of code out of 1,155,915 total lines across 5,493 files, counted from the master ref at commit ab58ba480b2c by the OctoCounts tokei engine on 2026-09-16. 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 apache/Pulsar to commit ab58ba480b2c, 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 67.4% of all lines, comments represent 20.9%, and the repository averages 142 code lines per file. Java accounts for 94.5% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 4,700 | 1,051,469 | 736,032 | 196,846 | 118,591 |
| JSON | 26 | 18,240 | 18,240 | 0 | 0 |
| Go | 38 | 8,246 | 6,101 | 1,156 | 989 |
| Kotlin | 110 | 9,000 | 5,142 | 3,138 | 720 |
| XML | 69 | 4,839 | 3,167 | 1,564 | 108 |
| Python | 43 | 4,518 | 3,010 | 923 | 585 |
| Protocol Buffers | 18 | 2,677 | 1,922 | 343 | 412 |
| Shell | 43 | 2,949 | 1,369 | 1,230 | 350 |
| YAML | 37 | 2,663 | 1,355 | 1,103 | 205 |
| BASH | 8 | 1,477 | 947 | 378 | 152 |
| TOML | 1 | 516 | 396 | 118 | 2 |
| Batch | 6 | 351 | 280 | 32 | 39 |

Top language (Java 94.5%). Generated at 2026-09-16T23:29:18.011594447+00:00. Canonical report: https://octocounts.com/github/apache/Pulsar

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/apache/Pulsar/commit/ab58ba480b2c8e04ba785dedb0232408660af565?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Atrue%2C%22includeTests%22%3Atrue%2C%22includeGenerated%22%3Atrue%7D).

## Report FAQ

### How many lines of code does apache/Pulsar have?

apache/Pulsar has 1,155,915 total lines, including 778,641 code lines, 241,107 comment lines, and 136,167 blank lines.

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

OctoCounts resolved the public GitHub repository to commit ab58ba480b2c, 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 ab58ba480b2c on 2026-09-16T23:29:18.011594447+00:00.

## Similar repository reports

- [mlflow/mlflow](https://octocounts.com/github/mlflow/mlflow) — Java, 841,842 code lines
- [apache/Druid](https://octocounts.com/github/apache/Druid) — Java, 851,530 code lines
- [apache/druid](https://octocounts.com/github/apache/druid) — Java, 851,543 code lines
- [dbeaver/dbeaver](https://octocounts.com/github/dbeaver/dbeaver) — Java, 683,995 code lines
- [quarkusio/quarkus](https://octocounts.com/github/quarkusio/quarkus) — Java, 944,399 code lines
- [keycloak/keycloak](https://octocounts.com/github/keycloak/keycloak) — Java, 582,524 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)
- [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)
