# apache/pig SLOC report

> As of 2026-10-24 (commit 09588bb38843), apache/pig contains 260,737 total lines: 161,211 code, 65,976 comments, 33,550 blank, across 1,315 files in 11 languages (top: Java 97.0%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

apache/pig has 161,211 source lines of code out of 260,737 total lines across 1,315 files, counted from the 09588bb38843de4f4673980e969f51406ec9ceb0 ref at commit 09588bb38843 by the OctoCounts tokei engine on 2026-10-24. 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/pig to commit 09588bb38843, 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 61.8% of all lines, comments represent 25.3%, and the repository averages 123 code lines per file. Java accounts for 97.0% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Java | 1,272 | 247,242 | 156,357 | 61,123 | 29,762 |
| XML | 12 | 3,482 | 2,816 | 380 | 286 |
| Python | 3 | 928 | 680 | 91 | 157 |
| Shell | 6 | 576 | 392 | 122 | 62 |
| BASH | 1 | 506 | 327 | 116 | 63 |
| HTML | 6 | 286 | 272 | 0 | 14 |
| Ruby | 1 | 437 | 187 | 189 | 61 |
| Batch | 1 | 205 | 133 | 45 | 27 |
| Dockerfile | 1 | 88 | 47 | 28 | 13 |
| Markdown | 1 | 71 | 0 | 49 | 22 |
| Plain Text | 11 | 6,916 | 0 | 3,833 | 3,083 |

Top language (Java 97.0%). Generated at 2026-10-24T19:07:32.360979832+00:00. Canonical report: https://octocounts.com/github/apache/pig

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/apache/pig/commit/09588bb38843de4f4673980e969f51406ec9ceb0?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=8afe5470a8d8a36ac8e4a82dc57e52cf4ec4878b85a994cd8f88881ba4809a95).

## Report FAQ

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

apache/pig has 260,737 total lines, including 161,211 code lines, 65,976 comment lines, and 33,550 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 09588bb38843, 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/pig?

This OctoCounts report was generated from 09588bb38843de4f4673980e969f51406ec9ceb0 at commit 09588bb38843 on 2026-10-24T19:07:32.360979832+00:00.

## Similar repository reports

- [apache/maven](https://octocounts.com/github/apache/maven) — Java, 159,549 code lines
- [TimefoldAI/timefold-solver](https://octocounts.com/github/TimefoldAI/timefold-solver) — Java, 154,337 code lines
- [apache/Maven](https://octocounts.com/github/apache/Maven) — Java, 153,624 code lines
- [Anuken/Mindustry](https://octocounts.com/github/Anuken/Mindustry) — Java, 146,933 code lines
- [AppliedEnergistics/Applied-Energistics-2](https://octocounts.com/github/AppliedEnergistics/Applied-Energistics-2) — Java, 141,413 code lines
- [apache/openmeetings](https://octocounts.com/github/apache/openmeetings) — Java, 141,344 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)
